diff --git a/src/components/xtSelect/index.vue b/src/components/xtSelect/index.vue index 8b47e54d..c6cd0080 100644 --- a/src/components/xtSelect/index.vue +++ b/src/components/xtSelect/index.vue @@ -56,6 +56,7 @@ v-if="multiple" type="selection" width="40" + :selectable="selectable" :reserve-selection="true" > @@ -89,7 +90,7 @@ const props = defineProps({ }); const emit = defineEmits(["update:modelValue", "update:obj", "update:label", "change"]); - +const selectable = (row) => row.count_canhandover?row.count_canhandover>0:true; // 控制 popover 显示与隐藏的状态 const showPopover = ref(false); const inputRef = ref();