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
H5
https://github.com/NervJS 浏览器版本: Chrome 96 使用框架: React
Taro.showToast({ icon: 'error', title: statusText })
在h5下显示错误图标
显示success图标
Taro CLI 3.3.16 environment info: System: OS: Windows 10 Binaries: Node: 14.18.1 - D:\Node\node.EXE Yarn: 1.22.11 - D:\Node\node_global\yarn.CMD npm: 6.14.15 - D:\Node\npm.CMD
The text was updated successfully, but these errors were encountered:
showToast 的 icon 不支持 'error' 吧
showToast
icon
Sorry, something went wrong.
支持了,昨天发的3.3.16支持了
feat(h5): toast 支持 error fix #10823
96a2d82
fed7693
8672a99
d95a28b
Successfully merging a pull request may close this issue.
相关平台
H5
复现仓库
https://github.com/NervJS
浏览器版本: Chrome 96
使用框架: React
复现步骤
Taro.showToast({
icon: 'error',
title: statusText
})
期望结果
在h5下显示错误图标
实际结果
显示success图标
环境信息
The text was updated successfully, but these errors were encountered: