فهرست منبع

Merge branch 'sit'

xiaodai2017 2 سال پیش
والد
کامیت
d216a5fca9
2فایلهای تغییر یافته به همراه22 افزوده شده و 9 حذف شده
  1. 10 0
      dist/static/js/app.js
  2. 12 9
      src/views/login/index.vue

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 10 - 0
dist/static/js/app.js


+ 12 - 9
src/views/login/index.vue

@@ -241,15 +241,18 @@ export default {
       this.$store
         .dispatch("user/getMenuList", this)
         .then((res) => {
-          console.log(res);
-          window.vm.$router.push({
-            path: this.redirect
-              ? this.redirect
-              : res === "success-dataV"
-              ? "/bigScreen/datavScr"
-              : "/welcome",
-            query: this.otherQuery,
-          });
+          if (res === "success") {
+            console.log(res);
+            window.vm.$router.push({
+              path: this.redirect
+                ? this.redirect
+                : res === "success-dataV"
+                ? "/bigScreen/datavScr"
+                : "/welcome",
+              query: this.otherQuery,
+            });
+          }
+
           this.loading = false;
         })
         .catch((err) => {

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است