用户管理校验

pull/7/head
gexinzhineng/gxzn27 2023-03-02 15:57:40 +08:00
parent b5d45e5444
commit 9e66efdc50
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ const { t } = useI18n()
export const rules = reactive({ export const rules = reactive({
username: [required], username: [required],
nickname: [required], nickname: [required],
password: [required],
email: [ email: [
{ required: true, message: t('profile.rules.mail'), trigger: 'blur' }, { required: true, message: t('profile.rules.mail'), trigger: 'blur' },
{ {