style(eslint): fix eslint error

This commit is contained in:
Vben
2021-04-12 23:02:48 +08:00
parent 26adbc92be
commit 3c441a05da
15 changed files with 62 additions and 53 deletions

View File

@@ -67,15 +67,15 @@
showAdvancedButton: propTypes.bool.def(true),
resetButtonOptions: {
type: Object as PropType<ButtonOptions>,
default: {},
default: () => {},
},
submitButtonOptions: {
type: Object as PropType<ButtonOptions>,
default: {},
default: () => {},
},
actionColOptions: {
type: Object as PropType<Partial<ColEx>>,
default: {},
default: () => {},
},
actionSpan: propTypes.number.def(6),
isAdvanced: propTypes.bool,

View File

@@ -28,15 +28,15 @@
},
formProps: {
type: Object as PropType<FormProps>,
default: {},
default: () => {},
},
allDefaultValues: {
type: Object as PropType<Recordable>,
default: {},
default: () => {},
},
formModel: {
type: Object as PropType<Recordable>,
default: {},
default: () => {},
},
setFormModel: {
type: Function as PropType<(key: string, value: any) => void>,