From 711366022d7ccd87d80ec82f2705e1bb005291b3 Mon Sep 17 00:00:00 2001 From: yvan.ni Date: Wed, 2 Jun 2021 15:19:30 +0800 Subject: [PATCH] 自己测出分销的一个bug --- pages/distribution/distribution.js | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) 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() -- libgit2 0.21.4