真机会把延迟效果2500效果去掉?
wx.showToast({
title: '提交成功',
mask: true,
duration: 2500
})
let timer = setTimeout(() => {
clearTimeout(timer)
wx.navigateBack({
delta: 1
})
}, 2500)
wx.showToast({
title: '提交成功',
mask: true,
duration: 2500
})
let timer = setTimeout(() => {
clearTimeout(timer)
wx.navigateBack({
delta: 1
})
}, 2500)