From 1c35b6fdd8ac4b90bd4af131d820f57f30664e24 Mon Sep 17 00:00:00 2001 From: fofolee Date: Tue, 7 Jan 2025 12:07:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Eparaminput=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=EF=BC=8C=E5=A4=84=E7=90=86=E5=A4=9A=E7=B1=BB=E5=9E=8B=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/composer/MultiParams.vue | 149 +----------------- src/components/composer/common/ParamInput.vue | 144 +++++++++++++++++ src/js/composer/commands/simulateCommands.js | 2 + 3 files changed, 153 insertions(+), 142 deletions(-) create mode 100644 src/components/composer/common/ParamInput.vue diff --git a/src/components/composer/MultiParams.vue b/src/components/composer/MultiParams.vue index bb42589..b8e16b4 100644 --- a/src/components/composer/MultiParams.vue +++ b/src/components/composer/MultiParams.vue @@ -1,105 +1,26 @@ diff --git a/src/components/composer/common/ParamInput.vue b/src/components/composer/common/ParamInput.vue new file mode 100644 index 0000000..29fbf95 --- /dev/null +++ b/src/components/composer/common/ParamInput.vue @@ -0,0 +1,144 @@ + + + + + diff --git a/src/js/composer/commands/simulateCommands.js b/src/js/composer/commands/simulateCommands.js index f657044..32b3ec9 100644 --- a/src/js/composer/commands/simulateCommands.js +++ b/src/js/composer/commands/simulateCommands.js @@ -72,6 +72,8 @@ export const simulateCommands = { { value: "utools.getCursorScreenPoint", label: "获取鼠标坐标", + outputVariable: "{x:curX,y:curY}", + saveOutput: true, config: [], allowEmptyArgv: true, },