From e0f09758ae9488e3fd3762463b3e4df5043f8994 Mon Sep 17 00:00:00 2001 From: Zzm0809 <934230207@qq.com> Date: Mon, 26 Feb 2024 13:52:04 +0800 Subject: [PATCH] optimize some image addresses as relative paths --- dinky-web/config/defaultSettings.ts | 2 +- dinky-web/src/components/Footer/index.tsx | 2 +- .../src/pages/Other/Login/LoginForm/MainWithStyle/index.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dinky-web/config/defaultSettings.ts b/dinky-web/config/defaultSettings.ts index e6e3b751eb..e0fccd0a92 100644 --- a/dinky-web/config/defaultSettings.ts +++ b/dinky-web/config/defaultSettings.ts @@ -35,7 +35,7 @@ const Settings: ProLayoutProps & { // 这里不能删除,需要先设置,否则会导致页面白屏, 然后在 layout 进行重新赋值 title: 'Dinky Real-time Platform ', pwa: true, - logo: '/dinky.svg', + logo: './dinky.svg', iconfontUrl: '', splitMenus: true, menu: { diff --git a/dinky-web/src/components/Footer/index.tsx b/dinky-web/src/components/Footer/index.tsx index a2b6d096c5..314352fd5b 100644 --- a/dinky-web/src/components/Footer/index.tsx +++ b/dinky-web/src/components/Footer/index.tsx @@ -27,7 +27,7 @@ const Footer: React.FC = () => { return ( { const { children } = props; return ( -
+