fix: share token

This commit is contained in:
zzc
2026-02-10 00:05:08 +08:00
parent 88138c3300
commit c969c77913
2 changed files with 7 additions and 3 deletions

View File

@@ -67,7 +67,7 @@
@tap="onRecommendClick(item)"
>
<image
:src="item.imageUrl"
:src="getThumbUrl(item.imageUrl)"
mode="aspectFill"
class="scroll-img"
/>
@@ -170,6 +170,10 @@ onShareTimeline(async () => {
};
});
const getThumbUrl = (url) => {
return `${url}?imageView2/1/w/340/h/600/q/80`;
};
const fetchDetail = async () => {
try {
const res = await getPageDetail(shareToken.value);

View File

@@ -1,6 +1,6 @@
// const BASE_URL = "https://api.ai-meng.com";
const BASE_URL = "https://api.ai-meng.com";
// const BASE_URL = 'http://127.0.0.1:3999'
const BASE_URL = "http://192.168.1.3:3999";
// const BASE_URL = "http://192.168.1.3:3999";
// const BASE_URL = "http://192.168.31.253:3999";
import { useUserStore } from "@/stores/user";