Commit 61c0c75c by 前端

弹框

1 parent 60f2ba02
...@@ -66,7 +66,7 @@ class Request { ...@@ -66,7 +66,7 @@ class Request {
if (thisPage.route != 'pages/wxLogin/wxLogin') { if (thisPage.route != 'pages/wxLogin/wxLogin') {
getApp().login(true) getApp().login(true)
} }
} else if (code == -1) { } else if (code == -1 && failTips) {
wx.showToast({ wx.showToast({
title: message || '网络请求失败', title: message || '网络请求失败',
icon: 'none' icon: 'none'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!