From 1810200ac74009a8970ea452cd70e4fa48fbca3f Mon Sep 17 00:00:00 2001 From: ssc <273702440@qq.com> Date: Wed, 19 Jul 2023 15:30:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A1=A8=E5=8D=95=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E6=B8=85=E7=A9=BA=E6=9C=AA=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plugin/workflow/process/components/search.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/views/plugin/workflow/process/components/search.vue b/src/views/plugin/workflow/process/components/search.vue index fe2bd5b..f45b304 100644 --- a/src/views/plugin/workflow/process/components/search.vue +++ b/src/views/plugin/workflow/process/components/search.vue @@ -7,7 +7,8 @@ append-to-body> + @submit="handleSubmit" + @reset-change="handleReset"> @@ -118,11 +119,16 @@ export default { if (column && (['exists', 'notExists'].includes(condition) || (condition && value))) arr.push(`${column}:${condition}:${value}`) }) this.$emit('input', arr.join(",")) + } else { + this.$emit('input', '') } this.visible = false done() + }, + handleReset() { + this.$emit('input', '') } - } + }, }