fix: share token
This commit is contained in:
@@ -104,7 +104,7 @@ const hasMore = ref(true);
|
||||
const isRefreshing = ref(false);
|
||||
|
||||
onShareAppMessage(async (options) => {
|
||||
if(!isLoggedIn.value) {
|
||||
if (!isLoggedIn.value) {
|
||||
const shareToken = await getShareToken("wallpaper_download_index", "");
|
||||
return {
|
||||
title: "新春祝福",
|
||||
@@ -134,9 +134,11 @@ onShareAppMessage(async (options) => {
|
||||
}
|
||||
});
|
||||
|
||||
onShareTimeline(() => {
|
||||
onShareTimeline(async () => {
|
||||
const shareToken = await getShareToken("wallpaper_timeline");
|
||||
return {
|
||||
title: "精选新年壁纸,让手机也过年 🖼",
|
||||
query: `shareToken=${shareToken}`,
|
||||
imageUrl:
|
||||
"https://file.lihailezzc.com/resource/8dd026d76ef7a63d123b7fd698fb989b.png",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user