wangsisi 4 giorni fa
parent
commit
1a6790a32d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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' },