From 99b54bb0296a855f6bbaf1183b8a554dcf072bb7 Mon Sep 17 00:00:00 2001 From: Tomi Turtiainen <10324676+tomi@users.noreply.github.com> Date: Mon, 10 Jun 2024 16:54:13 +0300 Subject: [PATCH] =?UTF-8?q?fix(editor):=20Fix=20node=20connection=20showin?= =?UTF-8?q?g=20incorrect=20item=20count=20during=20=E2=80=A6=20(#9684)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/editor-ui/src/components/Node.vue | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/packages/editor-ui/src/components/Node.vue b/packages/editor-ui/src/components/Node.vue index 9dd4af5130d11..2668281e86acd 100644 --- a/packages/editor-ui/src/components/Node.vue +++ b/packages/editor-ui/src/components/Node.vue @@ -658,12 +658,15 @@ export default defineComponent({ this.showTriggerNodeTooltip = false; } }, - nodeRunData(newValue) { - if (!this.data) { - return; - } + nodeRunData: { + deep: true, + handler(newValue) { + if (!this.data) { + return; + } - this.$emit('run', { name: this.data.name, data: newValue, waiting: !!this.waiting }); + this.$emit('run', { name: this.data.name, data: newValue, waiting: !!this.waiting }); + }, }, }, created() {