|
|
@@ -1,9 +1,8 @@
|
|
|
import type { FormProps, FormItemRule } from 'element-plus'
|
|
|
-import type { RouteLocationNormalized } from 'vue-router'
|
|
|
|
|
|
export type BasicFormItem = {
|
|
|
label: string
|
|
|
- value: string | number | boolean
|
|
|
+ value: any
|
|
|
name: string
|
|
|
type: string
|
|
|
placeholder?: string
|
|
|
@@ -24,7 +23,7 @@ export type AdvancedFormItem = {
|
|
|
|
|
|
type Form = {
|
|
|
props?: FormProps
|
|
|
- route?: RouteLocationNormalized
|
|
|
+ route?: any
|
|
|
span?: number
|
|
|
advanced?: boolean
|
|
|
}
|