修复 Vue3 管理后台新增租户时,未校验账号、密码是否为空
This commit is contained in:
parent
18742b8cc7
commit
168f751a24
@ -105,7 +105,9 @@ const formRules = reactive({
|
|||||||
status: [{ required: true, message: '租户状态不能为空', trigger: 'blur' }],
|
status: [{ required: true, message: '租户状态不能为空', trigger: 'blur' }],
|
||||||
accountCount: [{ required: true, message: '账号额度不能为空', trigger: 'blur' }],
|
accountCount: [{ required: true, message: '账号额度不能为空', trigger: 'blur' }],
|
||||||
expireTime: [{ required: true, message: '过期时间不能为空', trigger: 'blur' }],
|
expireTime: [{ required: true, message: '过期时间不能为空', trigger: 'blur' }],
|
||||||
domain: [{ required: true, message: '绑定域名不能为空', trigger: 'blur' }]
|
domain: [{ required: true, message: '绑定域名不能为空', trigger: 'blur' }],
|
||||||
|
username: [{ required: true, message: '用户名称不能为空', trigger: 'blur' }],
|
||||||
|
password: [{ required: true, message: '用户密码不能为空', trigger: 'blur' }]
|
||||||
})
|
})
|
||||||
const formRef = ref() // 表单 Ref
|
const formRef = ref() // 表单 Ref
|
||||||
const packageList = ref([]) // 租户套餐
|
const packageList = ref([]) // 租户套餐
|
||||||
|
Loading…
Reference in New Issue
Block a user