wx.showToast 停留时间问题?

小程序 文章 2020-09-01 17:01 820 0 全屏看文

AI助手支持GPT4.0

wx.showToast 停留时间问题?Wx.showToast stay time problem?

wx.showToast 停留时间问题?

wx.showToast弹出停留时间不受duration影响,在小米,vivo部分机型直接不弹出,是什么原因呢,麻烦官方给个答复呢


wx.showToast The duration of pop-up is not affected by duration. In Xiaomi, some vivo models do not pop up directly. What is the reason? Please give an official reply

回答:

陈宇明:

如何你觉得官方的不好用,可以自定义一个。

小了白了兔 白了又了白:好的,谢谢~已解决
小了白了兔 白了又了白:
wx.showToast({  title'成功',  icon: 'none',  duration: 3000});
微喵网络:

弄一个 [ 能复现问题的简单的 ] 代码片段

https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

小了白了兔 白了又了白:没有开loading
小了白了兔 白了又了白:谢谢您哈~已解决

-EOF-

AI助手支持GPT4.0