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

NutUI 4.3.13, Notify组件有一些问题 #3199

Open
kylejiang opened this issue Sep 21, 2024 · 0 comments
Open

NutUI 4.3.13, Notify组件有一些问题 #3199

kylejiang opened this issue Sep 21, 2024 · 0 comments

Comments

@kylejiang
Copy link

NutUI 包名

@nutui/nutui-taro

NutUI 版本号

4.3.13

平台

weapp

重现链接

重现步骤

使用Notify组件的时候,duration参数设置非0数值无法触发自动关闭。 type参数类型只有一个NotifyType,似乎和doc上的string类型对不上,ts提示类型错误挺难看的。

期望的结果是什么?

期望能修复duration自动关闭。 type类型能和文档对上最好

实际的结果是什么?

notify控件无法自动关闭。 ts模式下 type类型参数绑定一个字符串类型会提示类型不匹配

环境信息

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