mirror of
https://gitee.com/log4j/pig-ui.git
synced 2024-12-22 21:22:33 +08:00
fix(菜单): 表单验证规则字段拼写错误
This commit is contained in:
parent
f8f6d229e3
commit
b615d3ac7d
@ -104,7 +104,7 @@ const state = reactive({
|
|||||||
|
|
||||||
// 表单校验规则
|
// 表单校验规则
|
||||||
const dataRules = reactive({
|
const dataRules = reactive({
|
||||||
menType: [{required: true, message: '菜单类型不能为空', trigger: 'blur'}],
|
menuType: [{required: true, message: '菜单类型不能为空', trigger: 'blur'}],
|
||||||
parentId: [{required: true, message: '上级菜单不能为空', trigger: 'blur'}],
|
parentId: [{required: true, message: '上级菜单不能为空', trigger: 'blur'}],
|
||||||
name: [{validator: rule.overLength, trigger: 'blur'},{required: true, message: '菜单不能为空', trigger: 'blur'}],
|
name: [{validator: rule.overLength, trigger: 'blur'},{required: true, message: '菜单不能为空', trigger: 'blur'}],
|
||||||
path: [{validator: rule.overLength, trigger: 'blur'},{required: true, message: '路径不能为空', trigger: 'blur'}],
|
path: [{validator: rule.overLength, trigger: 'blur'},{required: true, message: '路径不能为空', trigger: 'blur'}],
|
||||||
|
Loading…
Reference in New Issue
Block a user