From d33b55e5f1a22f77cb51c3da1a03a4fefccce71d Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期日, 19 十月 2025 15:22:20 +0800 Subject: [PATCH] fix: 验收管理 --- packages/components/src/Input/ChooseInputWithPicker.vue | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/packages/components/src/Input/ChooseInputWithPicker.vue b/packages/components/src/Input/ChooseInputWithPicker.vue index 1d07b64..90c72c8 100644 --- a/packages/components/src/Input/ChooseInputWithPicker.vue +++ b/packages/components/src/Input/ChooseInputWithPicker.vue @@ -18,11 +18,13 @@ enumValueKey?: string; valueEnum?: ValueEnum; modelValue: string | number; + disabled?: boolean; }; const props = withDefaults(defineProps<Props>(), { enumLabelKey: 'label', enumValueKey: 'value', + disabled: false, }); const emit = defineEmits<{ @@ -38,6 +40,9 @@ ); function handleOpen() { + if (props.disabled) { + return; + } const _modelValue = [props.modelValue]; Portal.add((key) => { return h( -- Gitblit v1.9.1