From 40e6526712c659d63f194f1554d36951e54ceed2 Mon Sep 17 00:00:00 2001 From: fhysy <1149505133@qq.com> Date: Tue, 18 Mar 2025 15:17:04 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E8=8F=9C=E5=8D=95logo=E5=8A=A0?= =?UTF-8?q?=E8=83=8C=E6=99=AF=EF=BC=8C=E6=9B=B4=E6=8D=A2png=E5=9B=BE?= =?UTF-8?q?=E7=89=87=EF=BC=8C=E5=A4=A7=E5=B1=8F=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.dr | 2 +- .env.drprod | 2 +- src/layout/components/Sidebar/Logo.vue | 6 ++++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.env.dr b/.env.dr index 45e3ea27..23805589 100644 --- a/.env.dr +++ b/.env.dr @@ -35,7 +35,7 @@ VUE_APP_THEME_CLASS = 'theme-blue-black' VUE_APP_BASE_API = '/dev-api' #平台大屏地址 -VUE_APP_BIGSCREEN_PLATFORM_URL = 'https://goview.drgyen.cn/#/chart/preview/202409030993958' +VUE_APP_BIGSCREEN_PLATFORM_URL = 'https://goview.drgyen.cn/#/chart/preview/202409031444907' #项目大屏地址 VUE_APP_BIGSCREEN_PROJECT_URL = '' diff --git a/.env.drprod b/.env.drprod index b0cdfee0..ef6f4eca 100644 --- a/.env.drprod +++ b/.env.drprod @@ -36,7 +36,7 @@ VUE_APP_THEME_CLASS = 'theme-blue-black' VUE_APP_BASE_API = '/prod-api' #平台大屏地址 -VUE_APP_BIGSCREEN_PLATFORM_URL = 'https://goview.drgyen.cn/#/chart/preview/202409030993958' +VUE_APP_BIGSCREEN_PLATFORM_URL = 'https://goview.drgyen.cn/#/chart/preview/202409031444907' #项目大屏地址 VUE_APP_BIGSCREEN_PROJECT_URL = '' diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue index 90c9d4f2..408ccec2 100644 --- a/src/layout/components/Sidebar/Logo.vue +++ b/src/layout/components/Sidebar/Logo.vue @@ -52,7 +52,7 @@ export default { link.href = logo; return logo || this.logo; }else{ - return '/images/' + process.env.VUE_APP_ICO_URL || this.logo; + return this.logo; } } }, @@ -63,7 +63,7 @@ export default { } }, created() { - // this.logo = '/images/' + process.env.VUE_APP_ICO_URL; + this.logo = require('@/assets/' + process.env.VUE_APP_LGOG168_URL);; }, methods: { toggleSideBar() { @@ -127,6 +127,8 @@ export default { & .sidebar-logo { width: 32px; height: 32px; + background: #fff; + border-radius: 50%; vertical-align: middle; margin-right: 12px; }