|
@@ -37,7 +37,7 @@ export default {
|
|
|
this.$store
|
|
|
.dispatch("user/dingUserInfor", model)
|
|
|
.then(async (res) => {
|
|
|
- if (res === "success") {
|
|
|
+ if (res === "success" ) {
|
|
|
await this.getMenu();
|
|
|
} else {
|
|
|
await this.logout();
|
|
@@ -53,7 +53,7 @@ export default {
|
|
|
.then(async (res) => {
|
|
|
if (res === "noToken") {
|
|
|
await this.logout();
|
|
|
- } else if (res === "success") {
|
|
|
+ } else if (res === "success"|| res === "success-dataV") {
|
|
|
if (
|
|
|
this.$route.path === "/loadingPage" ||
|
|
|
this.$route.path === "/" ||
|