guhongwei %!s(int64=5) %!d(string=hai) anos
pai
achega
c7bf18b1a8
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      src/views/newlogin.vue

+ 3 - 3
src/views/newlogin.vue

@@ -40,16 +40,16 @@ export default {
     async submitRegisters({ data }) {
       if (data.role == '2' || data.role == '3') {
         let res = await this.userCreate(data);
-        let msg = `注册成功`;
+        let msg = `注册成功,等待管理员审核,方可登录`;
         this.$checkRes(res, msg);
       } else if (data.role == '6') {
         let res = await this.expertsuserCreate(data);
-        let msg = `注册成功`;
+        let msg = `注册成功,等待管理员审核,方可登录`;
         this.$checkRes(res, msg);
       } else if (data.role == '7') {
         data.status = '3';
         let res = await this.userCreate(data);
-        let msg = `注册成功`;
+        let msg = `注册成功,等待管理员审核,方可登录`;
       }
       window.location.reload();
     },