release: align H5 demo UI and login

This commit is contained in:
WorkBuddy
2026-10-21 17:34:03 +08:00
parent d51c4c6a76
commit afee993626
35 changed files with 265 additions and 32 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ export const useAuthStore = defineStore('auth', () => {
* 无需微信环境即可切换到预置演示用户(见实施计划 D2 / 登录策略)。
*/
async function loginByDemoCode(code: string) {
const data = await authService.wechatLogin({ code })
const data = await authService.demoLogin({ code })
applyTokens(data)
return data
}