优化代码

This commit is contained in:
smallchill 2019-02-23 21:55:41 +08:00
parent b12c56f973
commit eb810c7619
4 changed files with 15 additions and 4 deletions

View File

@ -93,7 +93,7 @@
label: "title" label: "title"
}, },
rules: [{ rules: [{
required: true, required: false,
message: "请选择上级部门", message: "请选择上级部门",
trigger: "blur" trigger: "blur"
}] }]
@ -108,6 +108,17 @@
message: "请输入排序", message: "请输入排序",
trigger: "blur" trigger: "blur"
}] }]
},
{
label: "备注",
prop: "remark",
span: 24,
rules: [{
required: false,
message: "请输入备注",
trigger: "blur"
}]
} }
] ]
}, },

View File

@ -93,7 +93,7 @@
label: "title" label: "title"
}, },
rules: [{ rules: [{
required: true, required: false,
message: "请选择上级字典", message: "请选择上级字典",
trigger: "blur" trigger: "blur"
}] }]

View File

@ -106,7 +106,7 @@
label: "title" label: "title"
}, },
rules: [{ rules: [{
required: true, required: false,
message: "请选择上级菜单", message: "请选择上级菜单",
trigger: "blur" trigger: "blur"
}] }]

View File

@ -123,7 +123,7 @@
label: "title" label: "title"
}, },
rules: [{ rules: [{
required: true, required: false,
message: "请选择上级角色", message: "请选择上级角色",
trigger: "blur" trigger: "blur"
}] }]