feat(banban): add standalone entry and mini app base wiring
This commit is contained in:
@@ -62,9 +62,11 @@ export default function Login() {
|
||||
}, 300)
|
||||
} catch (error: any) {
|
||||
console.error('[login] failed:', error)
|
||||
Taro.showToast({
|
||||
title: error?.message || '登录失败,请重试',
|
||||
icon: 'none',
|
||||
const message = String(error?.message || '登录失败,请重试')
|
||||
Taro.showModal({
|
||||
title: '登录失败',
|
||||
content: message,
|
||||
showCancel: false,
|
||||
})
|
||||
} finally {
|
||||
Taro.hideLoading()
|
||||
|
||||
Reference in New Issue
Block a user