wx.showToast({
title: 'xxxx1',
icon: 'success',
duration: 2000,
mask: true,
success: function () {
console.log("==xxxx1toastsuccess==");
setTimeout(function () {
wx.hideToast({
success: (res) => {
console.log("==xxxx2hideToastsuccess==");
setTimeout(function () {
wx.redirectTo({
url: '../xcxccccccc/xcxccccccc',
})
}, 1500)
},
fail:function(e){
console.log("==xxxx2hideToastfail==");
}
})
}, 1500)
},
fail:function(){
console.log("==xxxx1toastfail==");
}
})
进入的是xxxx2hideToastfail?设置了延时的,请各位大佬帮助