Explorar o código

修改用户获取

aaa %!s(int64=3) %!d(string=hai) anos
pai
achega
f622be0745
Modificáronse 2 ficheiros con 1 adicións e 1 borrados
  1. 1 0
      src/views/home/index.vue
  2. 0 1
      src/views/home/learn/page-learn.vue

+ 1 - 0
src/views/home/index.vue

@@ -73,6 +73,7 @@ export default {
   },
   created() {
     this.env = process.env.VUE_APP_ENV;
+    console.log("---env---" + this.env);
     this.initFun();
   },
   activated() {

+ 0 - 1
src/views/home/learn/page-learn.vue

@@ -31,7 +31,6 @@ export default {
   },
   computed: {},
   created() {
-    console.log("---------" + process.env.VUE_APP_ENV);
     this.getLearnRootList();
   },
   mounted() {},