jwyu 5 сар өмнө
parent
commit
101c27faa4

+ 1 - 1
src/views/datasheet_manage/components/BalanceAddChart.vue

@@ -514,7 +514,7 @@ export default {
         const temarr=arr.map(item=>{
           return {Name:item.Years,Value:item.ChartLegend}
         })
-        this.SeasonExtraConfig.ChartLegend=temarr
+        this.SeasonExtraConfig.ChartLegend=this.SeasonExtraConfig.type==='公历'?temarr:temarr.filter((item,index)=>index>0)
         this.legendEditDiaShow=true
       }