mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-10 00:11:10 +08:00
fix(系统管理): 将表单排序字段默认值从0改为1
避免因默认值为0导致排序异常,确保新增记录时排序字段有合理的初始值
This commit is contained in:
@@ -95,7 +95,7 @@ export const drawerSchema: FormSchemaGetter = () => [
|
||||
fieldName: 'orderNum',
|
||||
label: '显示排序',
|
||||
rules: 'required',
|
||||
defaultValue: 0,
|
||||
defaultValue: 1,
|
||||
},
|
||||
{
|
||||
component: 'Input',
|
||||
|
||||
@@ -99,7 +99,7 @@ export const drawerSchema: FormSchemaGetter = () => [
|
||||
fieldName: 'dictSort',
|
||||
label: '显示排序',
|
||||
rules: 'required',
|
||||
defaultValue: 0,
|
||||
defaultValue: 1,
|
||||
},
|
||||
{
|
||||
component: 'Textarea',
|
||||
|
||||
@@ -228,7 +228,7 @@ export const drawerSchema: FormSchemaGetter = () => [
|
||||
fieldName: 'orderNum',
|
||||
help: '排序, 数字越小越靠前',
|
||||
label: '显示排序',
|
||||
defaultValue: 0,
|
||||
defaultValue: 1,
|
||||
rules: 'required',
|
||||
},
|
||||
{
|
||||
|
||||
@@ -111,7 +111,7 @@ export const drawerSchema: FormSchemaGetter = () => [
|
||||
fieldName: 'postSort',
|
||||
label: '岗位排序',
|
||||
rules: 'required',
|
||||
defaultValue: 0,
|
||||
defaultValue: 1,
|
||||
},
|
||||
{
|
||||
component: 'RadioGroup',
|
||||
|
||||
Reference in New Issue
Block a user