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

dialog h5下 onConfirm 不触发 #2446

Closed
xiaof520 opened this issue Jul 15, 2024 · 3 comments
Closed

dialog h5下 onConfirm 不触发 #2446

xiaof520 opened this issue Jul 15, 2024 · 3 comments

Comments

@xiaof520
Copy link
Contributor

NutUI React 包名

@nutui/nutui-react

NutUI React 版本号

2.6.13

平台

h5

重现链接

https://github.com/jdf2e/nutui-react/blob/next/src/packages/dialog/dialog.taro.tsx

重现步骤

Dialog.open("test", {})

期望的结果是什么?

正常触发

实际的结果是什么?

异常

环境信息

No response

其他补充信息

No response

@xiaof520
Copy link
Contributor Author

发现是Button disabled 影响,disabled = false 也影响触发click

Copy link

你好 @xiaof520, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。请确保选择准确的版本。

@xiaoyatong
Copy link
Collaborator

确保 disabled 给的值是布尔型。

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

No branches or pull requests

3 participants