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

showToast的error 在h5下显示正确的图标 #10823

Closed
jianhao2010303 opened this issue Dec 6, 2021 · 2 comments · Fixed by #10891
Closed

showToast的error 在h5下显示正确的图标 #10823

jianhao2010303 opened this issue Dec 6, 2021 · 2 comments · Fixed by #10891
Labels
A-api Area - H5 API 相关 F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x

Comments

@jianhao2010303
Copy link

相关平台

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
@taro-bot2 taro-bot2 bot added F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x labels Dec 6, 2021
@GreatAuk
Copy link

GreatAuk commented Dec 6, 2021

image
showToasticon 不支持 'error' 吧

@jianhao2010303
Copy link
Author

支持了,昨天发的3.3.16支持了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-api Area - H5 API 相关 F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants