This commit is contained in:
parent
b95f6abdcc
commit
0f97546fe0
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue