Prechádzať zdrojové kódy

前端优化减少体积

pixel 4 rokov pred
rodič
commit
36dec42151

+ 0 - 1
web/build.config.js

@@ -12,7 +12,6 @@ module.exports = {
         { name: 'vue-router', scope: 'VueRouter' },
         { name: 'vuex', scope: 'Vuex' },
         { name: 'axios', scope: 'axios' },
-        { name: 'echarts', scope: 'echarts' },
         { name: 'element-ui', scope: 'ELEMENT',  path: '/element-ui/2.12.0/index.js'},
     ]
 };

+ 1 - 0
web/package.json

@@ -39,6 +39,7 @@
     "@vue/cli-service": "^4.5.6",
     "babel-eslint": "^10.1.0",
     "babel-plugin-component": "^1.1.1",
+    "babel-preset-es2015": "^6.24.1",
     "core-js": "^3.3.2",
     "eslint": "^6.7.2",
     "eslint-plugin-vue": "^6.2.2",

+ 1 - 1
web/src/view/systemTools/formCreate/index.vue

@@ -1,6 +1,6 @@
 <template>
   <div style="height:80vh">
-    <iframe width="100%" height="100%" :src="'http://127.0.0.1:8888/form-generator/#/'" frameborder="0"></iframe>
+    <iframe width="100%" height="100%" :src="'http://139.9.113.229:8888/form-generator/#/'" frameborder="0"></iframe>
   </div>
 </template>