[更新]:树形组件基础版

This commit is contained in:
落小梅
2021-10-11 16:17:55 +08:00
parent a1824b2da4
commit 6934b11c46
8 changed files with 422 additions and 316 deletions

View File

@@ -1,4 +1,4 @@
import type { App, DefineComponent } from 'vue'
import type { App, DefineComponent, Ref } from 'vue'
export type StringObject = Record<string, unknown>
export type UnknownObject = Record<string | number, unknown>
@@ -14,4 +14,10 @@ export interface InstallOptions extends StringObject {
pagination?: null
/** Menu Attributes */
menu?: null
}
}
export type Nullable<T> = T | null
export type MaybeRef<T> = Ref<T> | T
export type Recordable = Record<string, any>