Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uniapp项目vue2版本使用npm install @antv/f2 --save安装后引入组件报错 #1901

Open
1 task
dakedou opened this issue Nov 30, 2023 · 0 comments
Open
1 task

Comments

@dakedou
Copy link

dakedou commented Nov 30, 2023

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

https://github.com/dakedou/online

Steps to reproduce

引入@antv/f2后报错 。错误内容TypeError: (0 , _tslib.__spreadArray) is not a function
at DefaultStyleValueRegistry.registerMetadata (pages-demo-demo.js:26413:261)
at pages-demo-demo.js:26413:134
at Array.forEach ()
at new DefaultStyleValueRegistry (pages-demo-demo.js:26413:101)
at Object. (pages-demo-demo.js:27243:466)
at Object.RfGs (pages-demo-demo.js:27892:30)
at webpack_require (index.js:854:30)
at fn (index.js:151:20)
at Object.ep9H (pages-demo-demo.js:35150:14)
at webpack_require (index.js:854:30)

Environment Info
f2 5.0.39
System -
Browser 谷歌最新版

报错问题可能出现在_tslib.__spreadArray 。 本地打印_tslib.只有_tslib.__spreadArrays为什么项目中出现spreadArray 。期待尽快给与回复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant