修正校验文本错误
Signed-off-by: moon69 <1016830869@qq.com>
This commit is contained in:
parent
4e39c11d7c
commit
ca8858a33f
@ -59,11 +59,11 @@ const formData = ref({
|
|||||||
remark: ''
|
remark: ''
|
||||||
})
|
})
|
||||||
const formRules = reactive({
|
const formRules = reactive({
|
||||||
name: [{ required: true, message: '岗位标题不能为空', trigger: 'blur' }],
|
name: [{ required: true, message: '角色名称不能为空', trigger: 'blur' }],
|
||||||
code: [{ required: true, message: '岗位编码不能为空', trigger: 'change' }],
|
code: [{ required: true, message: '角色标识不能为空', trigger: 'change' }],
|
||||||
sort: [{ required: true, message: '岗位顺序不能为空', trigger: 'change' }],
|
sort: [{ required: true, message: '显示顺序不能为空', trigger: 'change' }],
|
||||||
status: [{ required: true, message: '岗位状态不能为空', trigger: 'change' }],
|
status: [{ required: true, message: '状态不能为空', trigger: 'change' }],
|
||||||
remark: [{ required: false, message: '岗位内容不能为空', trigger: 'blur' }]
|
remark: [{ required: false, message: '备注不能为空', trigger: 'blur' }]
|
||||||
})
|
})
|
||||||
const formRef = ref() // 表单 Ref
|
const formRef = ref() // 表单 Ref
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user