From b2b92f62e46ccaa82b80c2d81d8e7c7074610ad7 Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Fri, 28 Oct 2022 15:11:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=82=E6=95=B0=E9=A1=B9=E6=94=B6=E9=9B=86?= =?UTF-8?q?=E6=B8=85=E5=8D=95=EF=BC=8C=E9=AB=98=E7=BA=A7=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=8D=E8=83=BD=E6=9F=A5=E8=AF=A2=E7=A9=BA?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/globalAdvancedQuery/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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