修复ie报错 本地环境运行
Showing
1 changed file
with
3 additions
and
2 deletions
| 1 | // IE 兼容 | ||
| 2 | import '@babel/polyfill' | ||
| 1 | import Vue from 'vue' | 3 | import Vue from 'vue' |
| 2 | import App from './App.vue' | 4 | import App from './App.vue' |
| 3 | import router from './router' | 5 | import router from './router' |
| ... | @@ -7,8 +9,7 @@ import '@/assets/css/index.scss' | ... | @@ -7,8 +9,7 @@ import '@/assets/css/index.scss' |
| 7 | 9 | ||
| 8 | // 全局引入按需引入UI库 vant | 10 | // 全局引入按需引入UI库 vant |
| 9 | import '@/plugins/vant' | 11 | import '@/plugins/vant' |
| 10 | // IE 兼容 | 12 | |
| 11 | import '@babel/polyfill' | ||
| 12 | // 移动端适配 | 13 | // 移动端适配 |
| 13 | import 'lib-flexible/flexible.js' | 14 | import 'lib-flexible/flexible.js' |
| 14 | 15 | ... | ... |
-
Please register or sign in to post a comment