在配置“ babel-polyfill”之前,它提示SCRIPT5009:“设置”未定义。
在我配置了'babel-polyfill'之后,它像这张图片一样提示我。
我的依赖项包含以下内容:
"dependencies": {
"aos": "^3.0.0-beta.6",
"axios": "^0.18.0",
"babel-polyfill": "^6.26.0",
"cross-env": "^5.2.0",
"echarts": "^4.2.0-rc.2",
"echarts-gl": "^1.1.1",
"element-ui": "^2.4.11",
"fetch-jsonp": "^1.1.3",
"js-cookie": "^2.2.0",
"js-sha1": "^0.6.0",
"node-sass": "^4.11.0",
"nuxt": "^2.0.0",
"qiniu-js": "^2.5.3",
"sass-loader": "^7.1.0",
"vue-cookies": "^1.5.12",
"vue-infinite-scroll": "^2.0.2"}
有人可以给我一些建议或解决方法吗?非常感谢!