Karsa 10 mesi fa
parent
commit
9afc110795
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/views/dataEntry_manage/addChart.vue

+ 1 - 1
src/views/dataEntry_manage/addChart.vue

@@ -736,7 +736,7 @@ export default {
 					// 季节图只允许添加一个指标
 					if(this.chartInfo.ChartType === 2 && this.tableData.length > 1) return this.$message.warning('您选择的图表样式为季节性图表,只支持单指标画图');
 
-					else if([7,10].includes(this.chartInfo.ChartType)  && !this.$refs.BarOptRef.dateList.length)  return this.$message.warning('请添加日期');
+					else if([7,11].includes(this.chartInfo.ChartType)  && !this.$refs.BarOptRef.dateList.length)  return this.$message.warning('请添加日期');
 
 					else if(this.chartInfo.ChartType === 10 && !this.$refs.SectionScatterOptRef.seriesArr[0].edbs)  return this.$message.warning('请添加系列指标');