Showing
1 changed file
with
1 additions
and
1 deletions
@@ -231,7 +231,7 @@ export function login(account, password) { | @@ -231,7 +231,7 @@ export function login(account, password) { | ||
231 | }) | 231 | }) |
232 | .catch((error) => { | 232 | .catch((error) => { |
233 | Alert.alert( | 233 | Alert.alert( |
234 | - error.message, | 234 | + error.message?error.message:'登录失败', |
235 | '', | 235 | '', |
236 | [{text: 'OK'}] | 236 | [{text: 'OK'}] |
237 | ); | 237 | ); |
-
Please register or login to post a comment