guhongwei пре 5 година
родитељ
комит
c7bf18b1a8
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      src/views/newlogin.vue

+ 3 - 3
src/views/newlogin.vue

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