html52.com
我爱小程序-开发者交流社区

showToast 设置时间无效

问题模块
API和组件

function tost(content) {

wx.showToast({

title: content,

duration: 3000

})

}


写成了一个方法,调用的时候闪下就消失了,延时3秒不起作用

网友回复

金瓜兜儿:

应该是其他 showLoading 或者hideLoading之类的交互掩盖了

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人免签约支付接口

云免签H5支付