Commit 03f7613b3a5e1c2e155f9f9374ec6a741a0e4d83
1 parent
0dbc349e
request.js修改
Showing
1 changed file
with
1 additions
and
1 deletions
utils/request.js
@@ -196,7 +196,7 @@ module.exports = { | @@ -196,7 +196,7 @@ module.exports = { | ||
196 | if(data.is_json){ | 196 | if(data.is_json){ |
197 | header={ 'content-type': 'application/json'}; | 197 | header={ 'content-type': 'application/json'}; |
198 | post_data=JSON.stringify(post_data); | 198 | post_data=JSON.stringify(post_data); |
199 | - } | 199 | + }; |
200 | return new Promise((resolve, reject) => { | 200 | return new Promise((resolve, reject) => { |
201 | data.isShowLoading && th.showLoading(); | 201 | data.isShowLoading && th.showLoading(); |
202 | wx.request({ | 202 | wx.request({ |