Browse Source

Merge branch 'bug5458' into custom

Karsa 7 tháng trước cách đây
mục cha
commit
6e685932ad
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/predictEdb_manage/components/edbDetail.vue

+ 1 - 1
src/views/predictEdb_manage/components/edbDetail.vue

@@ -100,7 +100,7 @@ export default {
                 StartYear=this.$refs.chartInfo.count_year_season
                 if(!(this.$refs.chartInfo.season_year && this.$refs.chartInfo.season_year.length>0)){
                     // 初始化日期显示
-                    let latestYear = parseInt(this.$refs.chartInfo.tableData[0].LatestDate.substring(0,4))
+                    let latestYear = parseInt(this.$refs.chartInfo.tableData[0].EndDate.substring(0,4))
                     this.$refs.chartInfo.season_year = [`${latestYear-StartYear+1}-01-01`,`${latestYear}-12-31`];
                 }
                 dateArray = this.$refs.chartInfo.season_year