跳转
wx.showToast({ title: "修改成功", icon: "success", mask: true, duration: 1000, success: function () { setTimeout(() => { wx.navigateBack(); }, 1000); } })
wx.showToast({ title: "发布成功", icon: "success", mask: true, duration: 1000, success: function () { setTimeout(() => { wx.navigateTo({ url: '/pages/myArticle/myArticle', success: function () { var page = getCurrentPages().pop(); if (page == undefined || page == null) return; page.onLoad(); } }); }, 1000); } })
wx.showToast({ title: "登录成功", icon: "success", mask: true, duration: 1000, success: function () { setTimeout(() => { wx.switchTab({ url: '/pages/me/me', success:function(){ var page = getCurrentPages().pop(); if (page == undefined || page == null) return; page.onLoad(); } }); }, 1000); } })