Commit 4b5663ad322103685313c8fe3371e49715834c11

Authored by fengtao
1 parent 30999c1b

fix:修改登录页返回提示信息

... ... @@ -135,9 +135,10 @@ export default {
135 135 });
136 136 }
137 137 })
138   -
139 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 },
... ...