From e13f778f2a0bbe92553b1cf44db4ca949238b3fd Mon Sep 17 00:00:00 2001 From: fofolee Date: Sun, 12 Jan 2025 11:35:10 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4VariableInput=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=EF=BC=8C=E6=9B=B4=E5=8A=A0=E7=B4=A7=E5=87=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../composer/common/VariableInput.vue | 48 ++++++++++++++----- .../composer/ui/SelectListEditor.vue | 4 +- 2 files changed, 37 insertions(+), 15 deletions(-) diff --git a/src/components/composer/common/VariableInput.vue b/src/components/composer/common/VariableInput.vue index 6b64104..de8cf48 100644 --- a/src/components/composer/common/VariableInput.vue +++ b/src/components/composer/common/VariableInput.vue @@ -29,10 +29,10 @@ v-if="!hasSelectedVariable" > {{ - isString + (isString ? "当前类型是:字符串" - : "当前类型是:变量、数字、表达式等" + - (disableToggleType ? "" : ",点击切换") + : "当前类型是:变量、数字、表达式等") + + (disableToggleType ? "" : ",点击切换") }} @@ -104,10 +104,7 @@