|
@@ -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();
|
|
|
},
|