Refactor:前台系统知识库板面重构 (#68)
Co-authored-by: ning <cn19822139138@163.com>
This commit is contained in:
parent
59df92f63a
commit
2b92ee39c6
|
@ -72,11 +72,11 @@ const KnowledgeSidebar = () => {
|
||||||
KnowledgeRouteKey.Testing,
|
KnowledgeRouteKey.Testing,
|
||||||
<TestingIcon />,
|
<TestingIcon />,
|
||||||
),
|
),
|
||||||
getItem(
|
// getItem(
|
||||||
KnowledgeRouteKey.Configuration,
|
// KnowledgeRouteKey.Configuration,
|
||||||
KnowledgeRouteKey.Configuration,
|
// KnowledgeRouteKey.Configuration,
|
||||||
<ConfigurationIcon />,
|
// <ConfigurationIcon />,
|
||||||
),
|
// ),
|
||||||
];
|
];
|
||||||
|
|
||||||
if (!isEmpty(data?.graph)) {
|
if (!isEmpty(data?.graph)) {
|
||||||
|
|
|
@ -68,14 +68,14 @@ const KnowledgeList = () => {
|
||||||
prefix={<SearchOutlined />}
|
prefix={<SearchOutlined />}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Button
|
{/*<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
icon={<PlusOutlined />}
|
icon={<PlusOutlined />}
|
||||||
onClick={showModal}
|
onClick={showModal}
|
||||||
className={styles.topButton}
|
className={styles.topButton}
|
||||||
>
|
>
|
||||||
{t('createKnowledgeBase')}
|
{t('createKnowledgeBase')}
|
||||||
</Button>
|
</Button>*/}
|
||||||
</Space>
|
</Space>
|
||||||
</div>
|
</div>
|
||||||
<Spin spinning={loading}>
|
<Spin spinning={loading}>
|
||||||
|
|
Loading…
Reference in New Issue