增加登录,页面刷新获取店铺详情

This commit is contained in:
2025-02-24 09:51:45 +08:00
parent 45212ea243
commit 0e644c507f
3 changed files with 220 additions and 3 deletions

View File

@@ -181,7 +181,7 @@ function handleLogin() {
userStore
.login(user)
.then(async (res) => {
// await userStore.getUserInfo();
await userStore.getUserInfo();
const { path, queryParams } = parseRedirect();
console.log(res, "Denglv返回");
router.push({ path: path, query: queryParams });