From 3d2c48733b86a03fc2e5a1f12ac3667ab0863b80 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期五, 08 十一月 2024 01:03:56 +0800
Subject: [PATCH] 标签模板,主页,默认工艺路线更新

---
 src/components/Application/src/LoginLogo.vue |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/components/Application/src/LoginLogo.vue b/src/components/Application/src/LoginLogo.vue
index 8e9bc2f..ead8112 100644
--- a/src/components/Application/src/LoginLogo.vue
+++ b/src/components/Application/src/LoginLogo.vue
@@ -4,18 +4,18 @@
  * @version: 
  * @Date: 2024-06-17 14:51:25
  * @LastEditors: Ben Lin
- * @LastEditTime: 2024-06-19 09:51:43
+ * @LastEditTime: 2024-07-19 17:11:43
 -->
 <template>
   <div class="anticon" :class="getAppLogoClass" @click="goHome">
-    <img src="../../../assets/images/loginlogo.png" />
+    <img :src="loginLogoUrl" />
     <div class="ml-2 truncate md:opacity-100" :class="getTitleClass" v-show="showTitle">
       {{ title }}
     </div>
   </div>
 </template>
 <script lang="ts" setup>
-  import { computed, unref } from 'vue';
+  import { computed, ref, unref } from 'vue';
   import { useGlobSetting } from '@/hooks/setting';
   import { useGo } from '@/hooks/web/usePage';
   import { useMenuSetting } from '@/hooks/setting/useMenuSetting';
@@ -41,7 +41,8 @@
   const { prefixCls } = useDesign('app-logo');
   const { getCollapsedShowTitle } = useMenuSetting();
   const userStore = useUserStore();
-  const { title } = useGlobSetting();
+  const { title, systemType, downloadUrl } = useGlobSetting();
+  const loginLogoUrl = ref(`${downloadUrl}\\${systemType}-loginlogo.png`)
   const go = useGo();
 
   const getAppLogoClass = computed(() => [

--
Gitblit v1.9.3