You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
464 B
22 lines
464 B
/** |
|
* @program: kicc-ui |
|
* @description: 工具定义 |
|
* @author: wangxiang4 |
|
* @create: 2022/4/10 |
|
*/ |
|
|
|
import type { ComputedRef, Ref } from 'vue'; |
|
|
|
/** prop动态类型定义,可以自动根据当前prop的数量进行创建 */ |
|
export type DynamicProps<T> = { |
|
[P in keyof T]: Ref<T[P]> | T[P] | ComputedRef<T[P]>; |
|
}; |
|
|
|
/** 加密模型定义 */ |
|
export interface encryptionLoginModel { |
|
data: { |
|
[key: string]: any; |
|
}; |
|
key: string; |
|
param: string[]; |
|
}
|
|
|