参数项收集清单,高级查询添加不能查询空条件提示

This commit is contained in:
zyx.net
2022-10-28 14:59:45 +08:00
parent e3e14194e9
commit 4808f7ef52
@@ -397,7 +397,7 @@
return str return str
}, },
handleOk() { handleOk() {
// if (!this.isNullArray(this.queryParamsModel)) { if (!this.isNullArray(this.queryParamsModel)) {
let event = { let event = {
matchType: this.matchType, matchType: this.matchType,
params: this.removeEmptyObject(this.queryParamsModel) params: this.removeEmptyObject(this.queryParamsModel)
@@ -407,9 +407,9 @@
this.visible = false this.visible = false
} }
this.emitCallback(event) this.emitCallback(event)
// } else { } else {
// this.$message.warn(this.$t('CannotQueryEmpty')) this.$message.warn(this.$t('CannotQueryEmpty'))
// } }
}, },
emitCallback(event = {}) { emitCallback(event = {}) {
let { params = [], matchType = this.matchType } = event let { params = [], matchType = this.matchType } = event