From 5a813f3b28f3cbf1db3a3657ccf83267c6e0d315 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期四, 24 十月 2024 11:22:02 +0800
Subject: [PATCH] 工艺路线相关优化

---
 src/components/Application/src/AppLogo.vue |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/components/Application/src/AppLogo.vue b/src/components/Application/src/AppLogo.vue
index ad1fa2a..ab973ca 100644
--- a/src/components/Application/src/AppLogo.vue
+++ b/src/components/Application/src/AppLogo.vue
@@ -1,10 +1,10 @@
 <!--
  * @Description: file content
- * @Author: your name
+ * @Author: Vben
  * @version: 
  * @Date: 2024-06-17 14:51:25
- * @LastEditors: your name
- * @LastEditTime: 2024-06-17 18:35:54
+ * @LastEditors: Ben Lin
+ * @LastEditTime: 2024-07-19 17:12:04
 -->
 <!--
  * @Author: Vben
@@ -12,14 +12,14 @@
 -->
 <template>
   <div class="anticon" :class="getAppLogoClass" @click="goHome">
-    <img src="../../../assets/images/logo.png" />
+    <img :src="logoUrl" />
     <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';
@@ -45,7 +45,8 @@
   const { prefixCls } = useDesign('app-logo');
   const { getCollapsedShowTitle } = useMenuSetting();
   const userStore = useUserStore();
-  const { title } = useGlobSetting();
+  const { title, systemType, downloadUrl } = useGlobSetting();
+  const logoUrl = ref(`${downloadUrl}\\${systemType}-logo.png`)
   const go = useGo();
 
   const getAppLogoClass = computed(() => [

--
Gitblit v1.9.3