From 505ce1de5263f49257de0dbffabc12e9be6629de Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 26 Nov 2024 01:18:14 +0800
Subject: [PATCH] 变量全局

---
 src/views/companyInfo/index.vue |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/views/companyInfo/index.vue b/src/views/companyInfo/index.vue
index 80f4465..8d663d6 100644
--- a/src/views/companyInfo/index.vue
+++ b/src/views/companyInfo/index.vue
@@ -2,7 +2,7 @@
  * @Author: shuishen 1109946754@qq.com
  * @Date: 2024-11-08 11:00:30
  * @LastEditors: shuishen 1109946754@qq.com
- * @LastEditTime: 2024-11-09 15:31:53
+ * @LastEditTime: 2024-11-25 16:45:39
  * @FilePath: \bigScreen\src\views\companyInfo\index.vue
  * @Description:
  *
@@ -16,9 +16,7 @@
 import centerContainer from './components/centerContainer.vue' // 修改这里
 import mainMenuVue from './components/mainMenu.vue'
 import { onUnmounted } from "vue"
-const Cesium = DC.getLib('Cesium')
-const turf = DC.getLib('turf')
-console.log(Cesium, turf, 1111)
+
 let buttonIndex = ref(1)
 let data = reactive({
   companyInfo: {}
@@ -36,7 +34,7 @@
 
 wall.setStyle({
   material: new DC.WallTrailMaterialProperty({
-    color: Cesium.Color.fromBytes(255, 255, 0, 180),
+    color: window.$Cesium.Color.fromBytes(255, 255, 0, 180),
     speed: 10
   })
 })

--
Gitblit v1.9.3