修改bug

This commit is contained in:
‘937886381’
2024-07-10 15:46:21 +08:00
parent 91c352ff79
commit 8af5158a1b
5 changed files with 28 additions and 18 deletions

View File

@@ -546,11 +546,13 @@ export default {
this.chartMsgYearTarget.series[0].data = []
this.chartMsgYearTarget.series[1].data = []
this.title = ''
if (this.listQuery.date == null || this.listQuery.date == '') {
return this.$message('请选择时间维度')
if (this.listQuery.date === '') {
this.$message.warning('请选择时间维度')
return
}
if (!this.listQuery.beginTime && !this.listQuery.endTime) {
return this.$message('请选择起止时间')
this.$message.warning('请选择起止时间')
return
}
console.log(this.listQuery);
if (this.listQuery.type == 3) {