From bdbef0fbde20317d19bfc6d3473dabb10fb3fb3b Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Sat, 19 Apr 2025 15:41:21 +0800
Subject: [PATCH] feat: 修改任务事件概况的饼状图颜色
---
src/layout/index.vue | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/src/layout/index.vue b/src/layout/index.vue
index d240e08..f713ab7 100644
--- a/src/layout/index.vue
+++ b/src/layout/index.vue
@@ -12,17 +12,13 @@
import { onMounted } from 'vue';
import cesiumOperation from '@/utils/cesium-tsa';
import Header from './Header.vue';
-
-const { _init } = cesiumOperation();
const narrowScreen = ref(false)
-
const narrowScreenFun = () => {
// 监听窗口变化,计算是不是 窄屏幕
narrowScreen.value = window.innerWidth / window.innerHeight < 16 / 9;
};
onMounted(() => {
- _init('cesium');
narrowScreenFun()
window.addEventListener('resize', narrowScreenFun);
});
--
Gitblit v1.9.3