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

An error was reported in the console after the nut-ui template was launched. #2556

Open
windf17 opened this issue Aug 24, 2024 · 0 comments
Open

Comments

@windf17
Copy link

windf17 commented Aug 24, 2024

NutUI React 包名

@nutui/nutui-react-taro

NutUI React 版本号

4.9.3

平台

h5

重现链接

None

重现步骤

Warning: NutDialog: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
at BaseDialog (http://localhost:10086/@fs/E:/test/test/node_modules/.vite/deps/@nutui_nutui-react-taro.js?v=322f6a12:13161:22)
at taro-view-core
at ReactComponent (http://localhost:10086/@fs/E:/test/test/node_modules/.vite/deps/chunk-EOK3MTUW.js?v=322f6a12:312:7)
at TaroViewCore
at taro-view-core
at ReactComponent (http://localhost:10086/@fs/E:/test/test/node_modules/.vite/deps/chunk-EOK3MTUW.js?v=322f6a12:312:7)
at TaroViewCore
at div
at ConfigProvider (http://localhost:10086/@fs/E:/test/test/node_modules/.vite/deps/@nutui_nutui-react-taro.js?v=322f6a12:3508:11)
at Index (http://localhost:10086/pages/index/index.tsx?t=1724426565182:31:31)
at div
at PageWrapper (http://localhost:10086/@fs/E:/test/test/node_modules/.vite/deps/chunk-HTN6TF5T.js?v=322f6a12:233:9)
at App (http://localhost:10086/app.ts:5:3)
at AppWrapper (http://localhost:10086/@fs/E:/test/test/node_modules/.vite/deps/chunk-HTN6TF5T.js?v=322f6a12:301:7)

期望的结果是什么?

Please note the change in react version

实际的结果是什么?

Please note the change in react version

环境信息

No response

其他补充信息

No response

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