Showing
1 changed file
with
0 additions
and
5 deletions
| ... | @@ -60,11 +60,6 @@ export const useUpload = () => { | ... | @@ -60,11 +60,6 @@ export const useUpload = () => { |
| 60 | }) | 60 | }) |
| 61 | .catch(err => { | 61 | .catch(err => { |
| 62 | console.error(err); | 62 | console.error(err); |
| 63 | - if (!res.data.show) return false; | ||
| 64 | - Toast({ | ||
| 65 | - icon: 'close', | ||
| 66 | - message: res.data.msg | ||
| 67 | - }); | ||
| 68 | }) | 63 | }) |
| 69 | } else { | 64 | } else { |
| 70 | console.warn(res); | 65 | console.warn(res); | ... | ... |
-
Please register or login to post a comment