We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
使用showModal时,默认取消按钮文本显示为undefined。
如下面代码所示,代码在微信小程序中正常,但是在支付宝小程序中 取消按钮 文本显示为 undefined, 必须在js代码中写 cancelText: '取消', 才可以。
cancelText: '取消',
` Taro.showModal({ title: '删除确认', content: '确认删除吗?删除后,数据将丢失!如果队列不为空或状态已开启则无法删除!', }).then(res => {})`
期待支付宝和微信平台一致,不需要显式定义 cancelText
无报错
C:\Users\xinbin>taro info 👽 Taro v2.0.5
Taro CLI 2.0.5 environment info: System: OS: Windows 10 Binaries: Node: 12.16.1 - C:\Program Files\nodejs\node.EXE npm: 6.13.4 - C:\Program Files\nodejs\npm.CMD
The text was updated successfully, but these errors were encountered:
CC @Chen-jj
Sorry, something went wrong.
欢迎提交 Issue~
如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏
如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。
Good luck and happy coding~
应该是支付宝 API 的问题。
Chen-jj
No branches or pull requests
问题描述
使用showModal时,默认取消按钮文本显示为undefined。
复现步骤
如下面代码所示,代码在微信小程序中正常,但是在支付宝小程序中 取消按钮 文本显示为 undefined, 必须在js代码中写
cancelText: '取消',
才可以。期望行为
期待支付宝和微信平台一致,不需要显式定义 cancelText
报错信息
无报错
系统信息
C:\Users\xinbin>taro info
👽 Taro v2.0.5
Taro CLI 2.0.5 environment info:
System:
OS: Windows 10
Binaries:
Node: 12.16.1 - C:\Program Files\nodejs\node.EXE
npm: 6.13.4 - C:\Program Files\nodejs\npm.CMD
The text was updated successfully, but these errors were encountered: