提示东西
wx.showToast({ title: '修改成功', icon: 'success', duration: 2000 });
分享
onShareAppMessage:function(){ return{ title:"转发给好友", imageUrl:"/images/welcome_bac.png", path:"/pages/welcome/welcome" } }
提示完了跳转
wx.showToast({ title: '修改成功', icon: 'success', duration: 2000 }); setTimeout(function () { wx.navigateTo({ url: '../manage/manage?id=' + that.data.id }) }, 2000)