diff --git a/pages/distribution/distribution.js b/pages/distribution/distribution.js index 534ea46..e76fa70 100644 --- a/pages/distribution/distribution.js +++ b/pages/distribution/distribution.js @@ -186,9 +186,18 @@ Page({ } } - } - - + } + else{ + wx.showToast({ + title: res.data.msg, + icon: 'none', + duration: 2000 + }); + setTimeout(function(){ + getApp().goto("/pages/user/index/index"); + },1500) + + } }else{ self.getDis_data()