Răsfoiți Sursa

时间问题

jwyu 3 ani în urmă
părinte
comite
9f5387bcf1
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      src/views/hzyb/chart/Detail.vue

+ 2 - 2
src/views/hzyb/chart/Detail.vue

@@ -170,7 +170,7 @@ const getChartInfo=async (type)=>{
         // 设置highchart配置 ChartType: 1曲线图 2季节图:季节图中公历和农历数据结构不同
         if(res.data.ChartInfo.ChartType===1){
             if(type=='init'){
-                dateType.value=res.data.ChartInfo.DateType||3 
+                dateType.value=res.data.ChartInfo.DateType
                 startDate.value=res.data.ChartInfo.StartDate||''
                 endDate.value=res.data.ChartInfo.EndDate||''
                 calendarType.value=res.data.ChartInfo.Calendar||'公历' 
@@ -178,7 +178,7 @@ const getChartInfo=async (type)=>{
             setSplineOpt(res.data.EdbInfoList)
         }else{
             if(type=='init'){
-                dateType.value=res.data.ChartInfo.DateType||3 
+                dateType.value=res.data.ChartInfo.DateType
                 startDate.value=res.data.ChartInfo.SeasonStartDate||''
                 endDate.value=res.data.ChartInfo.SeasonEndDate||''
                 calendarType.value=res.data.ChartInfo.Calendar||'公历'