Files
coffeechat/miniprogram/pages/login/index.ts
T
2026-09-21 16:01:26 +08:00

2 lines
229 B
TypeScript

Page({ retry() { getApp<IAppOption>().login().then(() => wx.switchTab({ url: '/pages/index/index' })).catch((error: unknown) => wx.showToast({ title: error instanceof Error ? error.message : '登录失败', icon: 'none' })) } })