wangsisi před 4 dny
rodič
revize
1a6790a32d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/views/old_mini/agri_file/index.vue

+ 1 - 1
src/views/old_mini/agri_file/index.vue

@@ -206,7 +206,7 @@ const getFarmRiskAndTracking = async () => {
     });
     if (requestId !== fetchRequestId) return;
     if (res.code === 200) {
-        currentPheCode.value = res.current_phe_code;
+        currentPheCode.value = res.data.current_phe_code;
         trackingList.value = [
             { ...res.data.phenology_tracking, theme: "blue", icon: require("@/assets/img/report/wh-icon.png"), workType: 'phenology' },
             { ...res.data.growth_abnormal_tracking, theme: "orange", icon: require("@/assets/img/report/yc-icon.png"), workType: 'growth' },