Browse Source

前端优化减少体积

main
pixel 4 years ago
parent
commit
b737b6c4c1
  1. 1
      web/build.config.js
  2. 1
      web/package.json
  3. 2
      web/src/view/systemTools/formCreate/index.vue

1
web/build.config.js

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

1
web/package.json

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

2
web/src/view/systemTools/formCreate/index.vue

@ -1,6 +1,6 @@
<template> <template>
<div style="height:80vh"> <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> </div>
</template> </template>

Loading…
Cancel
Save