From ab49633b81fd890c7ab13bf82e5d4048053c51ce Mon Sep 17 00:00:00 2001 From: Deploy Date: Wed, 25 Mar 2026 18:04:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=20getCachedData=20?= =?UTF-8?q?=E9=81=BF=E5=85=8D=E9=A2=84=E6=B8=B2=E6=9F=93=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=20hydration=20=E5=A4=B1=E8=B4=A5=E5=AF=BC=E8=87=B4=20500?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- composables/usePublicApi.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/composables/usePublicApi.js b/composables/usePublicApi.js index ffa1da2..94785a2 100644 --- a/composables/usePublicApi.js +++ b/composables/usePublicApi.js @@ -14,8 +14,6 @@ export function usePublicApi(endpoint, options = {}) { return useFetch(`/api/content/${endpoint}`, { key: `public-${endpoint}`, - // 客户端导航时重新请求接口,不使用 payload 缓存 - getCachedData: () => undefined, ...options, }) }