Commit 2bff67841a29db1d02a3c40ea2b1e74baca67281
1 parent
3cf20708
电子站牌项目
1、修改engine-entry.js,添加注释
Showing
1 changed file
with
6 additions
and
0 deletions
front-end/h5/src/engine-entry.js
| ... | ... | @@ -12,6 +12,12 @@ |
| 12 | 12 | 使用场景:预览弹窗中预览 和 在手机上查看作品使用 |
| 13 | 13 | * @Copyright 2018 - 2020 luban-h5. All Rights Reserved |
| 14 | 14 | */ |
| 15 | + | |
| 16 | +/** | |
| 17 | + * 目前core-js是2.6.5版本,不支持url-search-params的polyfill,这里直接导入第三方的polyfill依赖, | |
| 18 | + * 以后升级core-js后,可以使用 web.url-search-params的polyfill,定义在babel.config.js中 | |
| 19 | + * core-js的版本依赖@vue-cli/babel-present的版本 | |
| 20 | + */ | |
| 15 | 21 | import 'url-search-params-polyfill' |
| 16 | 22 | |
| 17 | 23 | import Vue from 'vue' | ... | ... |