Showing
1 changed file
with
3 additions
and
2 deletions
| @@ -135,9 +135,10 @@ export default { | @@ -135,9 +135,10 @@ export default { | ||
| 135 | }); | 135 | }); | 
| 136 | } | 136 | } | 
| 137 | }) | 137 | }) | 
| 138 | - | ||
| 139 | .catch(e => { | 138 | .catch(e => { | 
| 140 | - uni.$u.toast(e.data?.message); | 139 | + if (e?.data?.data === null) { | 
| 140 | + uni.$u.toast(e.data?.msg); | ||
| 141 | + } | ||
| 141 | }); | 142 | }); | 
| 142 | } | 143 | } | 
| 143 | }, | 144 | }, |