fant-mini-plus
Version:
fant-mini-plus是一个基于Vue3和TypeScript的uni-app高效UI组件库,提供丰富的组件和样式,帮助开发者快速构建高质量的移动应用。
24 lines (21 loc) • 572 B
TypeScript
/*
* @Author: weisheng
* @Date: 2022-12-14 13:31:35
* @LastEditTime: 2023-02-23 19:37:35
* @LastEditors: weisheng
* @Description:
* @FilePath: \fant-mini\src\uni_modules\fant-mini\global.d.ts
* 记得注释
*/
interface Operation {
text: string // 操作项文字
value: string // 操作项值
confirmNeed: boolean // 操作项是否需要确认
confirmText: Nullable<string> // 确认文本
type: 'success' | 'error' | 'warn' | 'info' // 操作类型
}
interface Ucn {
id: string // id
name: string // 名称
}
declare type Nullable<T> = T | null