fix(app): 在确认手势内同步调起订阅,预约页首次进入定位到当前时段

微信要求授权框落在 tap 同步栈,先 await 会丢失弹层;订阅失败不再打断预约或支付。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
richarjiang
2026-09-10 14:53:14 +08:00
parent 57edd8dcc0
commit d793749134
4 changed files with 115 additions and 57 deletions

View File

@@ -159,9 +159,7 @@ async function handleConfirm() {
try {
await requestBookingCreatedSubscriptionMessage()
} catch (err: unknown) {
const message = err instanceof Error ? err.message : '订阅消息授权失败'
uni.showToast({ title: message, icon: 'none' })
return
console.warn('[subscribe] booking confirm failed', err)
} finally {
requestingSubscribe.value = false
}