zhangliang2 3 年之前
父节点
当前提交
1e2256844c
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 2 0
      .gitignore
  2. 1 1
      src/views/sceneLibrary/naturalDrivingScenarioList.vue

+ 2 - 0
.gitignore

@@ -7,6 +7,8 @@ node_modules
 
 
 # local env files
+.env
+.env.dev
 .env.local
 .env.*.local
 

+ 1 - 1
src/views/sceneLibrary/naturalDrivingScenarioList.vue

@@ -351,7 +351,7 @@ export default {
     },
 
     async mounted() {
-        console.log(process.env.GET_HOST);
+        console.log(process.env.VUE_APP_GET_HOST);
         console.log(process.env);
         await this.$dicsTreesInit({
             roadList: "road",