|
@@ -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
|