xiaodai2022 hace 2 años
padre
commit
603bfc642e
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 0 0
      dist/static/js/app.js
  2. 2 2
      src/App.vue

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 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 === "/" ||

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio