This commit is contained in:
zhangjianjun 2026-04-10 16:00:37 +08:00
parent b95f6abdcc
commit 0f97546fe0
1 changed files with 2 additions and 1 deletions

View File

@ -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}
</div>
</div>
</Section>