From 20163dbad5fc07f220f6a2fa89ed7f279f6d24a8 Mon Sep 17 00:00:00 2001 From: fengsilin Date: Thu, 23 Apr 2026 17:52:35 +0800 Subject: [PATCH] =?UTF-8?q?fix(legal):=20=E6=B3=95=E5=BE=8B=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E9=A1=B5=E9=9D=A2=E5=88=87=E6=8D=A2=E8=AF=AD=E8=A8=80?= =?UTF-8?q?=E6=97=B6=E5=BC=BA=E5=88=B6=E9=87=8D=E6=96=B0=E5=8A=A0=E8=BD=BD?= =?UTF-8?q?=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 给 DocumentRenderer 添加 key={lang} 属性,确保切换语言时组件 重新挂载并从 API 获取对应语言的内容,而非使用缓存内容。 Co-Authored-By: Claude Opus 4.7 --- web/src/pages/PrivacyPolicy/index.jsx | 1 + web/src/pages/Terms/index.jsx | 1 + web/src/pages/UsagePolicy/index.jsx | 1 + web/src/pages/UserAgreement/index.jsx | 1 + 4 files changed, 4 insertions(+) diff --git a/web/src/pages/PrivacyPolicy/index.jsx b/web/src/pages/PrivacyPolicy/index.jsx index bb9dd6d..5358336 100644 --- a/web/src/pages/PrivacyPolicy/index.jsx +++ b/web/src/pages/PrivacyPolicy/index.jsx @@ -8,6 +8,7 @@ const PrivacyPolicy = () => { return ( { return ( { return ( { return (