修改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

@@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2024-04-15 10:49:13
* @LastEditTime: 2024-07-09 16:16:14
* @LastEditTime: 2024-07-10 15:45:28
* @LastEditors: zhp
* @Description:
-->
@@ -344,11 +344,13 @@ export default {
},
async getDataList() {
console.log(this.listQuery.type);
if (this.listQuery.type == null || this.listQuery.type == '') {
return this.$message('请选择时间维度')
if (this.listQuery.type === '') {
this.$message.warning('请选择时间维度')
return
}
if (!this.listQuery.startDate && !this.listQuery.endDate) {
return this.$message('请选择起止时间')
this.$message.warning('请选择起止时间')
return
}
this.otherProps = []
let arr = []