Crazy 1 month ago
parent
commit
064acf11ac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/system/workroomCollege/user/UserForm.vue

+ 1 - 1
src/views/system/workroomCollege/user/UserForm.vue

@@ -272,7 +272,7 @@ const formData = ref({
 const formRules = reactive<FormRules>({
 const formRules = reactive<FormRules>({
   username: [{ required: true, message: '账号不能为空', trigger: 'blur' }],
   username: [{ required: true, message: '账号不能为空', trigger: 'blur' }],
   nickname: [{ required: true, message: '姓名不能为空', trigger: 'blur' }],
   nickname: [{ required: true, message: '姓名不能为空', trigger: 'blur' }],
-  password: [{ required: true, message: '用户密码不能为空', trigger: 'blur' }],
+  // password: [{ required: true, message: '用户密码不能为空', trigger: 'blur' }],
   email: [
   email: [
     { required: true, message: '邮箱不能为空', trigger: 'blur' }, // 确保这是必填
     { required: true, message: '邮箱不能为空', trigger: 'blur' }, // 确保这是必填
     {
     {