diff --git a/jero-web/src/components/globalAdvancedQuery/index.vue b/jero-web/src/components/globalAdvancedQuery/index.vue index 1d414485c..3bce861ad 100644 --- a/jero-web/src/components/globalAdvancedQuery/index.vue +++ b/jero-web/src/components/globalAdvancedQuery/index.vue @@ -397,7 +397,7 @@ return str }, handleOk() { - // if (!this.isNullArray(this.queryParamsModel)) { + if (!this.isNullArray(this.queryParamsModel)) { let event = { matchType: this.matchType, params: this.removeEmptyObject(this.queryParamsModel) @@ -407,9 +407,9 @@ this.visible = false } this.emitCallback(event) - // } else { - // this.$message.warn(this.$t('CannotQueryEmpty')) - // } + } else { + this.$message.warn(this.$t('CannotQueryEmpty')) + } }, emitCallback(event = {}) { let { params = [], matchType = this.matchType } = event