Commit a08919682597b92f7a27b65e88149f16860146aa
1 parent
150bcf39
登录失效
Showing
1 changed file
with
2 additions
and
2 deletions
common/requestServer.js
| @@ -53,7 +53,7 @@ export const myRequest = (options) => { | @@ -53,7 +53,7 @@ export const myRequest = (options) => { | ||
| 53 | uni.hideLoading(); | 53 | uni.hideLoading(); |
| 54 | uni.showToast({ | 54 | uni.showToast({ |
| 55 | title: result.message, | 55 | title: result.message, |
| 56 | - icon: 'error', | 56 | + icon: 'none', |
| 57 | duration: 2000 | 57 | duration: 2000 |
| 58 | }); | 58 | }); |
| 59 | } | 59 | } |
| @@ -66,7 +66,7 @@ export const myRequest = (options) => { | @@ -66,7 +66,7 @@ export const myRequest = (options) => { | ||
| 66 | console.log("请求失败", error); | 66 | console.log("请求失败", error); |
| 67 | uni.showToast({ | 67 | uni.showToast({ |
| 68 | title: error.message, | 68 | title: error.message, |
| 69 | - icon: 'error', | 69 | + icon: 'none', |
| 70 | duration: 2000 | 70 | duration: 2000 |
| 71 | }) | 71 | }) |
| 72 | // 失败数据 | 72 | // 失败数据 |