From 0f97546fe0fb181e52c5d229e95a3617bd54a947 Mon Sep 17 00:00:00 2001 From: zhangjianjun Date: Fri, 10 Apr 2026 16:00:37 +0800 Subject: [PATCH] ud --- src/pages/Social/Sustainability.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/Social/Sustainability.tsx b/src/pages/Social/Sustainability.tsx index d1b6233..3d4afd8 100644 --- a/src/pages/Social/Sustainability.tsx +++ b/src/pages/Social/Sustainability.tsx @@ -26,6 +26,7 @@ export default function Sustainability() { const locale = useStore((s) => s.locale); const data = appConfig?.social?.sustainability; const others = appConfig?.__global__?.others ?? {}; + const { moreText="了解更多", collapseText="收起" } = others; const banner = data.banner; const section1Data = data.section1Data; @@ -187,7 +188,7 @@ export default function Sustainability() { } }} > - {localReportItems.length < total ? "了解更多" : "收起"} + {localReportItems.length < total ? moreText : collapseText}