refactor: 排序 默认值
This commit is contained in:
@@ -95,6 +95,7 @@ export const drawerSchema: FormSchemaGetter = () => [
|
||||
fieldName: 'orderNum',
|
||||
label: '显示排序',
|
||||
rules: 'required',
|
||||
defaultValue: 0,
|
||||
},
|
||||
{
|
||||
component: 'Input',
|
||||
|
@@ -99,6 +99,7 @@ export const drawerSchema: FormSchemaGetter = () => [
|
||||
fieldName: 'dictSort',
|
||||
label: '显示排序',
|
||||
rules: 'required',
|
||||
defaultValue: 0,
|
||||
},
|
||||
{
|
||||
component: 'Textarea',
|
||||
|
@@ -111,6 +111,7 @@ export const drawerSchema: FormSchemaGetter = () => [
|
||||
fieldName: 'postSort',
|
||||
label: '岗位排序',
|
||||
rules: 'required',
|
||||
defaultValue: 0,
|
||||
},
|
||||
{
|
||||
component: 'RadioGroup',
|
||||
|
@@ -127,6 +127,7 @@ export const drawerSchema: FormSchemaGetter = () => [
|
||||
fieldName: 'roleSort',
|
||||
label: '角色排序',
|
||||
rules: 'required',
|
||||
defaultValue: 0,
|
||||
},
|
||||
{
|
||||
component: 'Select',
|
||||
|
Reference in New Issue
Block a user