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

@@ -140,7 +140,11 @@
/>
<!-- Login Popup -->
<LoginPopup ref="loginPopupRef" @logind="handleLogind" />
<LoginPopup
ref="loginPopupRef"
@logind="handleLogind"
:share-token="shareToken"
/>
<!-- More Avatar Popup -->
<uni-popup ref="morePopup" type="bottom" background-color="#fff">
@@ -208,6 +212,7 @@ const isLoggedIn = computed(() => !!userStore.userInfo.nickName);
const systemAvatars = ref([]);
const frames = ref([]);
const decors = ref([]);
const shareToken = ref("");
// Panel and steps logic
const activeTool = ref("avatar");
@@ -351,6 +356,7 @@ onLoad((options) => {
}
if (options.shareToken) {
shareToken.value = options.shareToken;
saveViewRequest("avatar_download", options.shareToken);
}
});