release: align H5 demo UI and login
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user