From 96ed9c211790a1f1394fb49491aa6857949d2f1c Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Sat, 12 Apr 2025 16:20:55 +0800
Subject: [PATCH] feat: 飞行建议

---
 src/components/CommonWeather.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/components/CommonWeather.vue b/src/components/CommonWeather.vue
index cc2592f..824b098 100644
--- a/src/components/CommonWeather.vue
+++ b/src/components/CommonWeather.vue
@@ -37,8 +37,9 @@
 		weather.value = res.data.data.weather
 		isFly.value = res.data.data.flightAdvice
 		windVelocity.value = res.data.data.windPower
-		flylevel.value = res.data.data.adcode.replace(/0+$/, "")
+		flylevel.value = res.data.data.adcode.replace(/0+$/, "").length
 		
+			
 	})
 }
 

--
Gitblit v1.9.3