Miaoaa
Miaoaa
  • 发布:2024-08-21 15:26
  • 更新:2024-08-21 15:26
  • 阅读:85

uniapp vue2 + ant-design-vue@1.7.8报错

分类:uni-app

uniapp vue2 + ant-design-vue@1.7.8

main.js全局注册
[code=javascript]
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
Vue.use(Antd);
[/code]

目前会报错
[code=javascript]
15:20:37.217 文件查找失败:'core-js/library/fn/array/from' at node_modules\babel-runtime\core-js\array\from.js:2
15:20:37.217 文件查找失败:'core-js/library/fn/get-iterator' at node_modules\babel-runtime\core-js\get-iterator.js:2
15:20:37.217 文件查找失败:'core-js/library/fn/is-iterable' at node_modules\babel-runtime\core-js\is-iterable.js:2
15:20:37.217 文件查找失败:'core-js/library/fn/object/assign' at node_modules\babel-runtime\core-js\object\assign.js:2
15:20:37.217 文件查找失败:'core-js/library/fn/object/define-property' at node_modules\babel-runtime\core-js\object\define-property.js:2
15:20:37.217 文件查找失败:'core-js/library/fn/symbol' at node_modules\babel-runtime\core-js\symbol.js:2
15:20:37.218 文件查找失败:'core-js/library/fn/symbol/iterator' at node_modules\babel-runtime\core-js\symbol\iterator.js:2
[/code]

下载了core-js依然报错

2024-08-21 15:26 负责人:无 分享
已邀请:

要回复问题请先登录注册