fix(菜单): 表单验证规则字段拼写错误

This commit is contained in:
2024-08-21 15:19:08 +08:00
parent f8f6d229e3
commit b615d3ac7d

View File

@ -104,7 +104,7 @@ const state = reactive({
//
const dataRules = reactive({
menType: [{required: true, message: '菜单类型不能为空', trigger: 'blur'}],
menuType: [{required: true, message: '菜单类型不能为空', trigger: 'blur'}],
parentId: [{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'}],