chenlong 1 rok pred
rodič
commit
f623976138

BIN
src/assets/images/weatherIcon/阵雪.png


+ 3 - 1
src/hooks/web/useTitle.ts

@@ -20,7 +20,9 @@ export function useTitle() {
       }
 
       const tTitle = t(route?.meta?.title as string);
-      pageTitle.value = ` ${tTitle} - 控制台 `;
+      // pageTitle.value = tTitle != '气象实况'?` ${tTitle} - 控制台`:`YX水文气象监测系统`;
+      pageTitle.value = `YX水文气象监测系统`;
+
     },
     { immediate: true }
   );

+ 5 - 3
src/views/dashboard/workbench/index.vue

@@ -291,9 +291,11 @@
   import weatherForecast from './components/weatherForecast.vue';
   import eventBus from '/@/utils/eventBus';
   const { VITE_GLOB_BASE_IMG } = getAppEnvConfig();
-  import { useTitle as usePageTitle } from '@vueuse/core';
-  const pageTitle = usePageTitle();
-  pageTitle.value = `YX水文气象监测系统`;
+  // import { useTitle as usePageTitle } from '@vueuse/core';
+  // const pageTitle = usePageTitle();
+  // setTimeout(() => {
+  //   pageTitle.value = `YX水文气象监测系统`;
+  // },1000)
   let activeKey = ref('1');
   let activetype = ref(1);
   let activeData = reactive({