优化:调整分类管理布局

This commit is contained in:
Liu 宇阳
2024-11-11 14:02:54 +08:00
parent 0a5b00f08f
commit 34533ec1c2
2 changed files with 1 additions and 7 deletions

View File

@@ -3,10 +3,4 @@
.ant-tree-node-content-wrapper {
width: 100% !important;
}
// .ant-tree-node-selected {
// .controls {
// display: block !important;
// }
// }
}

View File

@@ -130,7 +130,7 @@ const CatePage = () => {
<Button type="primary" onClick={() => addCateData(0)}></Button>
</Title>
<Card className={`CatePage [&>.ant-card-body]:!p-2 [&>.ant-card-body]:!pb-6 mt-2`}>
<Card className={`CatePage [&>.ant-card-body]:!p-[30px_20px] [&>.ant-card-body]:!pb-6 mt-2`}>
<Spin spinning={loading}>
<Tree defaultExpandAll={true} treeData={treeData(list)} />
</Spin>