From fb243f3345c6f3ed7e7c8c2d98c39b5afc782b9a Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 20 十月 2025 10:24:40 +0800
Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/flexJobMiniApp

---
 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