|
@@ -645,7 +645,7 @@ export default {
|
|
|
if(this.chartInfo.ChartType === 10 && !this.$refs.SectionScatterOptRef.seriesArr[0].edbs) return this.$message.warning('请添加系列指标');
|
|
|
|
|
|
if(this.chartInfo.ChartType === 2){
|
|
|
- if(this.SeasonExtraConfig.XStartDate || this.SeasonExtraConfig.XEndDate){
|
|
|
+ if(!(this.SeasonExtraConfig.XStartDate && this.SeasonExtraConfig.XEndDate)){
|
|
|
return this.$message.warning('横坐标显示范围不能为空');
|
|
|
}
|
|
|
}
|