showModal响应message默认值
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -127,7 +127,7 @@ Page({ | @@ -127,7 +127,7 @@ Page({ | ||
127 | }).then(res => { | 127 | }).then(res => { |
128 | if (res.code !== 200) { | 128 | if (res.code !== 200) { |
129 | wx.showModal({ | 129 | wx.showModal({ |
130 | - content: res.message, | 130 | + content: res.message || '网络异常,请稍后重试', |
131 | showCancel: false, | 131 | showCancel: false, |
132 | confirmText: '好的', | 132 | confirmText: '好的', |
133 | }); | 133 | }); |
-
Please register or login to post a comment