Skip to content

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

@windf17

Description

@windf17

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions