mirror of
				https://github.com/soybeanjs/soybean-admin.git
				synced 2025-11-04 15:53:43 +08:00 
			
		
		
		
	fix(projects): 修复TS类型问题
This commit is contained in:
		@@ -8,6 +8,8 @@ import { isNumber } from '@/utils';
 | 
			
		||||
 | 
			
		||||
defineOptions({ name: 'CountTo' });
 | 
			
		||||
 | 
			
		||||
type TansitionKey = keyof typeof TransitionPresets;
 | 
			
		||||
 | 
			
		||||
interface Props {
 | 
			
		||||
  /** 初始值 */
 | 
			
		||||
  startValue?: number;
 | 
			
		||||
@@ -30,7 +32,7 @@ interface Props {
 | 
			
		||||
  /** 使用缓冲动画函数 */
 | 
			
		||||
  useEasing?: boolean;
 | 
			
		||||
  /** 缓冲动画函数类型 */
 | 
			
		||||
  transition?: string;
 | 
			
		||||
  transition?: TansitionKey;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const props = withDefaults(defineProps<Props>(), {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user