From 61ac281134779ddac85f1618b2a9cadbeec1cdf0 Mon Sep 17 00:00:00 2001 From: Mouriya Date: Fri, 17 May 2024 14:41:15 +0900 Subject: [PATCH] =?UTF-8?q?verName=E3=81=AE=E3=83=A9=E3=83=83=E3=83=94?= =?UTF-8?q?=E3=83=B3=E3=82=B0=E3=83=BB=E3=82=AA=E3=83=96=E3=82=B8=E3=82=A7?= =?UTF-8?q?=E3=82=AF=E3=83=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/main/NodeItem.vue | 2 +- frontend/src/components/right/InputText.vue | 52 ++++++++++++++------- 2 files changed, 37 insertions(+), 17 deletions(-) diff --git a/frontend/src/components/main/NodeItem.vue b/frontend/src/components/main/NodeItem.vue index 6474a18..0e4cb8b 100644 --- a/frontend/src/components/main/NodeItem.vue +++ b/frontend/src/components/main/NodeItem.vue @@ -205,7 +205,7 @@ export default defineComponent({ */ const varName =(node:IActionNode)=>{ const prop = node.actionProps.find((prop) => prop.props.name === "verName"); - return prop?.props.modelValue; + return prop?.props.modelValue.name; }; const copyFlow=()=>{ context.emit('copyFlow', props.actionNode); diff --git a/frontend/src/components/right/InputText.vue b/frontend/src/components/right/InputText.vue index a14e06d..b47a379 100644 --- a/frontend/src/components/right/InputText.vue +++ b/frontend/src/components/right/InputText.vue @@ -1,10 +1,7 @@