From 4b509ebb4ab4b83790a9cd8e9b806b2e84186d06 Mon Sep 17 00:00:00 2001 From: wangjuncheng <1> Date: 星期三, 02 七月 2025 09:46:15 +0800 Subject: [PATCH] 1 --- src/components/menu/TimeLine.vue | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/src/components/menu/TimeLine.vue b/src/components/menu/TimeLine.vue index 6b1e748..5f1eaf0 100644 --- a/src/components/menu/TimeLine.vue +++ b/src/components/menu/TimeLine.vue @@ -549,7 +549,6 @@ // 棰勮绠楅鑹查樁娈垫椂闂寸偣 function precomputeColorStages() { if (!rainTotalInfo.value || rainTotalInfo.value.length === 0) return; - // 棰滆壊閰嶇疆锛堜寒搴﹂�掑噺锛� const COLOR_STOPS = [ { hex: "#F5F0E6", luminance: 240.4 }, // stage 0 @@ -569,10 +568,8 @@ -0.7, // stage 5 -0.8 // stage 6 ]; - // 绱闄嶉洦閲忛槇鍊硷紙mm锛� const R_THRESHOLDS = [0, 200, 240, 280, 310, 350]; // 鍏�6涓樁娈靛搴�6涓槇鍊� - // 鏃堕棿鍜岄檷闆ㄩ噺淇℃伅 const timeTotals = []; const initialTimestamp = new Date(rainTotalInfo.value[0].time).getTime(); @@ -588,7 +585,6 @@ // 鎵惧嚭姣忎釜闃舵棣栨杈惧埌鐨勬椂闂寸偣 const stages = []; - for (let stage = 1; stage < R_THRESHOLDS.length + 1; stage++) { const threshold = R_THRESHOLDS[stage - 1]; for (let i = 0; i < timeTotals.length; i++) { -- Gitblit v1.9.3