diff --git a/jeecgboot-vue3/src/components/JVxeCustom/src/components/JVxeUserSelectCell.vue b/jeecgboot-vue3/src/components/JVxeCustom/src/components/JVxeUserSelectCell.vue index 5da22f04..6891370d 100644 --- a/jeecgboot-vue3/src/components/JVxeCustom/src/components/JVxeUserSelectCell.vue +++ b/jeecgboot-vue3/src/components/JVxeCustom/src/components/JVxeUserSelectCell.vue @@ -18,7 +18,7 @@ components: { JSelectUser }, props: useJVxeCompProps(), setup(props: JVxeComponent.Props) { - const { innerValue, cellProps, handleChangeCommon, useCellDesign } = useJVxeComponent(props); + const { innerValue, cellProps, handleChangeCommon, useCellDesign, originColumn } = useJVxeComponent(props); const { prefixCls } = useCellDesign('user-select'); const selectedValue = computed(() => { @@ -49,7 +49,9 @@ // 不允许搜索 showSearch: false, // 设置最大的显示个数 - maxTagCount: 1, + // update-begin--author:liaozhiyang---date:20250106---for:【issues/7661】vxetable用户组件maxTagCount通过业务传递 + maxTagCount: originColumn.value.maxTagCount ?? 1, + // update-end--author:liaozhiyang---date:20250106---for:【issues/7661】vxetable用户组件maxTagCount通过业务传递 // 显示提示重写,去掉省略号 maxTagPlaceholder: ({ length }) => '+' + length, // -update-begin--author:liaozhiyang---date:20240617---for:【TV360X-1002】详情页面行编辑用户组件和部门组件显示方式优化