From e998d44266b4d2ac0fd2b9a7b5f7893eaa7020ec Mon Sep 17 00:00:00 2001 From: zhuangdashia Date: Sun, 29 Jun 2025 22:48:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E8=BE=BE=E5=BC=8F=E8=AF=AD=E6=B3=95?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/dynamic-input.vue | 9 --------- src/components/common/example-expression.vue | 2 +- .../manager/modules/system-variable-operate-drawer.vue | 2 +- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/src/components/common/dynamic-input.vue b/src/components/common/dynamic-input.vue index 0f379a5..efcdbd8 100644 --- a/src/components/common/dynamic-input.vue +++ b/src/components/common/dynamic-input.vue @@ -48,17 +48,8 @@ const getSystemVariables = async () =>{ value: item.variableKey.replace("$",'') })); } - console.log("syncOptions"+syncOptions.value[0].value) - console.log("syncOptions"+syncOptions.value[0].label) }; -const filteredOptions = computed(() => { - return inputValue.value - ? syncOptions.value.filter(opt => - opt.label.includes(inputValue.value) || - opt.value.includes(inputValue.value)) - : syncOptions.value -}); const typeOptions = [ diff --git a/src/components/common/example-expression.vue b/src/components/common/example-expression.vue index edaa727..57cdc89 100644 --- a/src/components/common/example-expression.vue +++ b/src/components/common/example-expression.vue @@ -30,7 +30,7 @@ const props = defineProps({ type: { type: Number, // required: true, - validator: (val: number) => [1, 2, 3].includes(val), + validator: (val: number) => [1, 2, 3, 4].includes(val), default:4 } }) diff --git a/src/views/system/manager/modules/system-variable-operate-drawer.vue b/src/views/system/manager/modules/system-variable-operate-drawer.vue index b7ae72b..0dd5be5 100644 --- a/src/views/system/manager/modules/system-variable-operate-drawer.vue +++ b/src/views/system/manager/modules/system-variable-operate-drawer.vue @@ -169,7 +169,7 @@ watch(visible, () => { :label="$t(item.label)" /> - +