Browse Source

关闭本地调试

liuYb 4 years ago
parent
commit
54b30f17b0
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/App.vue

+ 3 - 3
src/App.vue

@@ -150,9 +150,9 @@ export default {
   }, */
   created() {
     this.loadingFlag = true;
-    /* this.getData(); // 线上打开 */
+    this.getData(); // 线上打开
     // 本地调试打开
-    this.loadingFlag = false;
+   /*  this.loadingFlag = false;
     this.isManufacturer = "manufacturer"; //  distributor
     if (this.isManufacturer === "manufacturer") {
       if (this.$route.path === "/loading")
@@ -166,7 +166,7 @@ export default {
       localStorage.setItem("userId", 2002);
       sessionStorage.setItem("userNameAccount", "L0210_MM");
       this.userAccount = "L0210_MM";
-    }
+    } */
   },
 };
 </script>