From 5095d8b908ae1ac1daf992888956d27fddf5870f Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期日, 19 十月 2025 21:26:55 +0800
Subject: [PATCH] feat: 1.2.0.1
---
packages/components/src/Input/ChooseInputWithPicker.vue | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/packages/components/src/Input/ChooseInputWithPicker.vue b/packages/components/src/Input/ChooseInputWithPicker.vue
index e89cb4e..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: 'code',
+ 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