正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -518,6 +518,7 @@ Page({ | @@ -518,6 +518,7 @@ Page({ | ||
| 518 | }, | 518 | }, |
| 519 | success: function(res) { | 519 | success: function(res) { |
| 520 | console.log(res) | 520 | console.log(res) |
| 521 | + wx.hideLoading() | ||
| 521 | if (res.statusCode == 200) { | 522 | if (res.statusCode == 200) { |
| 522 | wx.navigateBack({ | 523 | wx.navigateBack({ |
| 523 | delta: 1 | 524 | delta: 1 |
| @@ -525,7 +526,6 @@ Page({ | @@ -525,7 +526,6 @@ Page({ | ||
| 525 | } else { | 526 | } else { |
| 526 | that.showtoast(res.data.message) | 527 | that.showtoast(res.data.message) |
| 527 | } | 528 | } |
| 528 | - wx.hideLoading() | ||
| 529 | }, | 529 | }, |
| 530 | fail(res) { | 530 | fail(res) { |
| 531 | console.log(res) | 531 | console.log(res) |
请
注册
或
登录
后发表评论