租户列表新增校验问题

This commit is contained in:
gexinzhineng/gxzn27 2023-03-04 10:37:07 +08:00
parent f63bccd1fe
commit 7a5a08d9a2

View File

@ -27,6 +27,24 @@ export const rules = reactive({
contactMobile: [required], contactMobile: [required],
accountCount: [required], accountCount: [required],
expireTime: [required], expireTime: [required],
username: [
required,
{
min: 4,
max: 30,
trigger: 'blur',
message: '用户名称长度为 4-30 个字符'
}
],
password: [
required,
{
min: 4,
max: 16,
trigger: 'blur',
message: '密码长度为 4-16 位'
}
],
domain: [required], domain: [required],
status: [required] status: [required]
}) })