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)" /> - +