|
|
@ -203,10 +203,10 @@ export default { |
|
|
} |
|
|
} |
|
|
} catch (error) { |
|
|
} catch (error) { |
|
|
console.error('登录失败:', error); |
|
|
console.error('登录失败:', error); |
|
|
uni.showToast({ |
|
|
|
|
|
title: '登录失败,请重试', |
|
|
|
|
|
icon: 'none' |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
// uni.showToast({ |
|
|
|
|
|
// title: '登录失败,请重试', |
|
|
|
|
|
// icon: 'none' |
|
|
|
|
|
// }); |
|
|
|
|
|
|
|
|
// #ifdef H5 |
|
|
// #ifdef H5 |
|
|
// H5环境下如果登录失败,清除URL参数并重新加载页面 |
|
|
// H5环境下如果登录失败,清除URL参数并重新加载页面 |
|
|
|