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', '') } - } + }, }