xiaodai2022 2 gadi atpakaļ
vecāks
revīzija
603bfc642e
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 0 0
      dist/static/js/app.js
  2. 2 2
      src/App.vue

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/js/app.js


+ 2 - 2
src/App.vue

@@ -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 === "/" ||

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels