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

uni.showToast 的 mask 和 icon 在微信小程序上失效 #765

Closed
dong-lufei opened this issue Jun 2, 2023 · 1 comment
Closed

uni.showToast 的 mask 和 icon 在微信小程序上失效 #765

dong-lufei opened this issue Jun 2, 2023 · 1 comment

Comments

@dong-lufei
Copy link

dong-lufei commented Jun 2, 2023

mask 开启透明蒙层 在h5正常,在微信小程序失效,
icon 的 fail、exception 值和默认的 success 渲染图标一样,为什么 失败fail渲染成对勾√图标? h5 和微信小程序都有这样问题

uni.showToast({
  title: '请选择其他平台',
  mask: true,
  icon: "fail"
});
@18148764734
Copy link
Contributor

18148764734 commented Jan 23, 2024

mask:我在微信小程序上mask测试正常,请检查一下基础库版本并升级
icon:请注意查看官方文档,fail并不支持微信小程序,仅支持支付宝小程序、抖音小程序

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

2 participants