|
@@ -52,7 +52,8 @@ export default {
|
|
|
if (this.form.role == '3') {
|
|
|
let res = await this.todockLogin({ user: this.form });
|
|
|
if (res.uid) {
|
|
|
- history.back();
|
|
|
+ this.$router.push({ path: '/adminCenter/index', query: { num: '1' } });
|
|
|
+ // history.back();
|
|
|
}
|
|
|
} else if (this.form.role == '8') {
|
|
|
let data = {};
|
|
@@ -61,7 +62,8 @@ export default {
|
|
|
data.role = this.form.role;
|
|
|
let res = await this.toLogin({ user: data });
|
|
|
if (res.uid) {
|
|
|
- history.back();
|
|
|
+ this.$router.push({ path: '/vipCenter/index', query: { num: '1' } });
|
|
|
+ // history.back();
|
|
|
}
|
|
|
}
|
|
|
},
|