| src/page/login/userlogin.vue | ●●●●● patch | view | raw | blame | history | |
| src/store/modules/user.js | ●●●●● patch | view | raw | blame | history |
src/page/login/userlogin.vue
@@ -224,13 +224,8 @@ } } if (JSON.stringify(res) == '{}') { this.$router.push({ path: this.tagWel.value }) } else { this.$router.$avueRouter.formatRoutes(res.menuData, true) this.$router.push({ path: res.fistMenu.path }) } loading.close() }).catch(() => { src/store/modules/user.js
@@ -114,7 +114,12 @@ commit("SET_HOMEFIRSTPAGE", "/wel"); resolve({}); resolve({ fistMenu: { path: "/wel", }, menuData, }); } else { setStore({ name: "showMenu", content: false }); @@ -135,7 +140,7 @@ resolve({ fistMenu, menuData }); } commit("DEL_ALL_TAG"); // commit("DEL_ALL_TAG"); }); } })