no message
Showing
1 changed file
with
15 additions
and
6 deletions
| ... | @@ -69,12 +69,21 @@ const request = function(req) { | ... | @@ -69,12 +69,21 @@ const request = function(req) { |
| 69 | } else if (req.url.indexOf('getMemberCountInfo') > -1) { | 69 | } else if (req.url.indexOf('getMemberCountInfo') > -1) { |
| 70 | resolve(data) | 70 | resolve(data) |
| 71 | } else { | 71 | } else { |
| 72 | if (!excludeUrls.includes(req.url)) { | 72 | if (!excludeUrls.includes(req.url)) { |
| 73 | uni.showToast({ | 73 | if(data.msg){ |
| 74 | title: data.msg, | 74 | uni.showModal({ |
| 75 | icon: 'none', | 75 | content: data.msg, |
| 76 | duration: 3000 | 76 | success: function(res) { |
| 77 | }) | 77 | |
| 78 | } | ||
| 79 | }) | ||
| 80 | } | ||
| 81 | uni.hideLoading() | ||
| 82 | // uni.showToast({ | ||
| 83 | // title: data.msg, | ||
| 84 | // icon: 'none', | ||
| 85 | // duration: 3000 | ||
| 86 | // }) | ||
| 78 | } | 87 | } |
| 79 | 88 | ||
| 80 | // 登录超时 | 89 | // 登录超时 | ... | ... |
-
Please register or sign in to post a comment