ソースを参照

fix: 默认选中

刘秀芳 4 日 前
親
コミット
bc8d1a02bf
1 ファイル変更、5 行追加、4 行削除
  1. 5 4
      src/views/old_mini/growth_report/index.vue

+ 5 - 4
src/views/old_mini/growth_report/index.vue

@@ -97,16 +97,16 @@ const menuIcon2 = require("@/assets/img/common/rain.png");
 const stressMenuItems = [
     {
         key: "stress",
-        line1: "暴雨",
-        line2: "涝渍",
+        line1: "渍根",
+        line2: "风险",
         icon: menuIcon,
         mapUrl: require("@/assets/img/map/Flood_Waterlogging_Risk.png"),
         extent: [115.7752805213905, 23.913245697921756, 116.55501818800624, 24.798086252779484],
     },
     {
         key: "hot-drought-1",
-        line1: "高温",
-        line2: "高湿",
+        line1: "病害",
+        line2: "风险",
         icon: menuIcon2,
         mapUrl: require("@/assets/img/map/High_Humidity_Heat_Risk.png"),
         extent: [115.77569718805717, 23.912588960529323, 116.55453653938879, 24.79742951538705],
@@ -594,6 +594,7 @@ onMounted(() => {
     initMap();
     tryOpenInviteEntryPopup();
     fetchAbnormalContent();
+    handleSelectMenu('stress');
 });
 onActivated(() => {
     syncEntryFarmData();