From b1398528bd9f5245f580285681cca6abc192c651 Mon Sep 17 00:00:00 2001
From: wangjuncheng <1>
Date: 星期五, 16 五月 2025 16:00:43 +0800
Subject: [PATCH] change

---
 src/utils/water.js |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/src/utils/water.js b/src/utils/water.js
index 22723c3..fc1c05d 100644
--- a/src/utils/water.js
+++ b/src/utils/water.js
@@ -43,7 +43,7 @@
     colorRender, // 鎺у埗鏄惁鍚敤棰滆壊娓叉煋
   });
 
-  console.log(`Water simulation started with baseUrl: ${baseUrl}, interval: ${interval}ms, colorRender: ${colorRender}`);
+  console.log(`浠跨湡妯℃嫙鍙傛暟锛� 璇锋眰璺緞 ${baseUrl}, 甯ч棿闂撮殧 ${interval}ms, 鏄惁寮�鍚笓棰樻覆鏌� ${colorRender}`);
 }
 /**
  * 鍒濆鍖栨按浣撴ā鎷熻鍥�
@@ -62,7 +62,7 @@
     },
   };
   viewer.scene.camera.flyTo(view);
-  console.log("Camera view initialized for water simulation.");
+  // console.log("Camera view initialized for water simulation.");
 }
 
 /**
@@ -71,7 +71,7 @@
 export function pauseWaterSimulation() {
   if (water) {
     water.pause();
-    console.log("Water simulation paused.");
+    console.log("鏆傚仠浠跨湡");
   } else {
     console.warn("No water simulation to pause.");
   }
@@ -83,7 +83,7 @@
 export function resumeWaterSimulation() {
   if (water) {
     water.resume();
-    console.log("Water simulation resumed.");
+    console.log("缁х画浠跨湡");
   } else {
     console.warn("No water simulation to resume.");
   }
@@ -101,9 +101,8 @@
       console.warn("No timestamps available for water simulation.");
       return;
     }
-
-    const idx = Math.floor(Math.random() * imageList.length);
-    console.log(`Jumping to timestamp: count:[${imageList.length}], index:[${closestIndex}]`);
+    // const idx = Math.floor(Math.random() * imageList.length); //闅忔満绱㈠紩璺宠浆锛屽疄闄呬腑鐢ㄤ笉鍒帮紝鍙敤浣滄紨绀�
+    // console.log(`Jumping to timestamp: count:[${imageList.length}], index:[${closestIndex}]`);
     water.setTime(imageList[closestIndex]);
   } else {
     console.warn("No water simulation to set time for.");
@@ -117,7 +116,7 @@
 export function toggleWaterColorRender(enabled) {
   if (water) {
     water.colorRender = enabled;
-    console.log(`Water color render set to: ${enabled}`);
+    console.log(`鏄惁寮�鍚笓棰樻覆鏌� ${enabled}`);
   } else {
     console.warn("No water simulation to toggle color rendering.");
   }

--
Gitblit v1.9.3