feat(banban): add standalone entry and mini app base wiring

This commit is contained in:
ChengCan
2026-04-30 00:57:35 +08:00
parent 6f18b73f95
commit eefa450e83
6 changed files with 79 additions and 16 deletions

View File

@@ -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()