From f49b82ca69a88f6cd84aaf94e5dcbb9134da23b8 Mon Sep 17 00:00:00 2001
From: Helloworld <1326521+LYZhelloworld@users.noreply.github.com>
Date: Sun, 21 Aug 2022 16:05:55 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BD=93=E5=89=8D=E7=89=88?=
=?UTF-8?q?=E6=9C=AC=E5=AD=98=E5=9C=A8=E7=9A=84=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/components/ActionList.vue | 4 ++--
.../src/components/GroupComponent.vue | 2 +-
.../src/components/OperatorComponent.vue | 19 ++++++++++++-------
.../src/controls/ActionTypeSelector.vue | 14 ++++++++------
.../src/controls/DirectionSelector.vue | 10 +++++-----
.../src/controls/OperatorName.vue | 2 +-
.../tests/unit/components/ActionList.spec.ts | 2 +-
.../unit/components/OperatorComponent.spec.ts | 2 +-
8 files changed, 31 insertions(+), 24 deletions(-)
diff --git a/tools/CopilotDesinger/copilot-designer/src/components/ActionList.vue b/tools/CopilotDesinger/copilot-designer/src/components/ActionList.vue
index d353828eb7..9108526a50 100644
--- a/tools/CopilotDesinger/copilot-designer/src/components/ActionList.vue
+++ b/tools/CopilotDesinger/copilot-designer/src/components/ActionList.vue
@@ -22,7 +22,7 @@
changeActionType(value, id)"
+ @update="(value: ActionType) => changeActionType(value, id)"
/>
|
@@ -68,7 +68,7 @@
|
changeDirection(value, id)"
+ @update="(value: Direction) => changeDirection(value, id)"
/>
|
diff --git a/tools/CopilotDesinger/copilot-designer/src/components/GroupComponent.vue b/tools/CopilotDesinger/copilot-designer/src/components/GroupComponent.vue
index d6ee33826e..75f4417e3e 100644
--- a/tools/CopilotDesinger/copilot-designer/src/components/GroupComponent.vue
+++ b/tools/CopilotDesinger/copilot-designer/src/components/GroupComponent.vue
@@ -11,7 +11,7 @@
/>
updateOperators(newOperators, id)"
+ @update="(newOperators: Operator[]) => updateOperators(newOperators, id)"
/>
diff --git a/tools/CopilotDesinger/copilot-designer/src/components/OperatorComponent.vue b/tools/CopilotDesinger/copilot-designer/src/components/OperatorComponent.vue
index bab2c710d4..e3895a855d 100644
--- a/tools/CopilotDesinger/copilot-designer/src/components/OperatorComponent.vue
+++ b/tools/CopilotDesinger/copilot-designer/src/components/OperatorComponent.vue
@@ -14,14 +14,14 @@
changeOperatorName(e.target.value, id)"
+ @input="(value: string) => changeOperatorName(value, id)"
/>
|
changeOperatorSkill((e.target as HTMLInputElement).value, id)"
/>
|
@@ -45,9 +45,9 @@
|