选择品类组件增加最小宽度
This commit is contained in:
@ -165,7 +165,7 @@ const CategorySelector: React.FC<CategorySelectorProps> = ({
|
||||
treeNodeFilterProp="title"
|
||||
multiple={multiple}
|
||||
treeDefaultExpandAll={treeData.length < 30} // 当节点数较少时默认展开所有节点
|
||||
dropdownStyle={{ maxHeight: 400, overflow: 'auto', whiteSpace: 'nowrap', }}
|
||||
dropdownStyle={{ maxHeight: 400, overflow: 'auto', whiteSpace: 'nowrap',minWidth: 250 }}
|
||||
treeCheckable={multiple} // 多选模式下显示复选框
|
||||
showCheckedStrategy={SHOW_CHILD} // 显示策略:显示子节点
|
||||
filterTreeNode={(inputValue, node) => {
|
||||
|
Reference in New Issue
Block a user