fix: share token

This commit is contained in:
zzc
2026-02-09 23:42:06 +08:00
parent 85bbf9d8ac
commit 88138c3300
5 changed files with 63 additions and 21 deletions

View File

@@ -103,6 +103,13 @@ const nickname = ref("");
const userStore = useUserStore();
const props = defineProps({
shareToken: {
type: String,
default: "",
},
});
const emit = defineEmits(["logind"]);
// 是否处于单页模式(朋友圈打开)
@@ -206,6 +213,7 @@ const confirmLogin = async () => {
nickname: nickname.value || getFestivalName(),
avatarUrl: imageUrl,
platform: "wx",
shareToken: props.shareToken,
});
// 保存用户信息到store
userStore.setUserInfo({