From 25e52294984afbbf127fa0084d7c1b7a31c3532a Mon Sep 17 00:00:00 2001 From: ChrisKim <1515748548@qq.com> Date: Mon, 28 Nov 2022 19:46:48 +0800 Subject: [PATCH] Display ICP License --- public/config.js | 3 +++ src/components/app.js | 3 +++ 2 files changed, 6 insertions(+) diff --git a/public/config.js b/public/config.js index 6ff2f72..4f21925 100644 --- a/public/config.js +++ b/public/config.js @@ -33,4 +33,7 @@ window.Config = { url: 'https://abo.xyz/' }, ], + + // 页脚ICP备案信息(留空不显示) + IcpLicense: '', }; diff --git a/src/components/app.js b/src/components/app.js index 7741471..af23a2d 100644 --- a/src/components/app.js +++ b/src/components/app.js @@ -13,6 +13,8 @@ function App() { return []; }, []); + const { IcpLicense } = window.Config; + return ( <>
@@ -23,6 +25,7 @@ function App() { ))}