用户管理校验

This commit is contained in:
gexinzhineng/gxzn27 2023-03-02 15:57:40 +08:00
parent b5d45e5444
commit 9e66efdc50

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' },
{ {