Commit 5abb0f2b37b35aab211ea17b262c20b4a7dbaea1
Committed by
蒋琴
1 parent
e47c618b
feat: 对BaseTree组件新增treeWrapperClassName属性 (#2217)
Showing
3 changed files
with
3 additions
and
1 deletions
src/components/Tree/src/BasicTree.vue
... | ... | @@ -437,7 +437,7 @@ |
437 | 437 | {extendSlots(slots)} |
438 | 438 | </TreeHeader> |
439 | 439 | )} |
440 | - <Spin spinning={unref(props.loading)} tip="加载中..."> | |
440 | + <Spin wrapperClassName={unref(props.treeWrapperClassName)} spinning={unref(props.loading)} tip="加载中..."> | |
441 | 441 | <ScrollContainer style={scrollStyle} v-show={!unref(getNotFound)}> |
442 | 442 | <Tree {...unref(getBindValues)} showIcon={false} treeData={treeData.value} /> |
443 | 443 | </ScrollContainer> | ... | ... |
src/components/Tree/src/types/tree.ts
src/views/demo/system/account/DeptTree.vue