diff --git a/web/client/src/sections/metadataManagement/containers/latestMetadata.js b/web/client/src/sections/metadataManagement/containers/latestMetadata.js
index 336caa8..a801c5a 100644
--- a/web/client/src/sections/metadataManagement/containers/latestMetadata.js
+++ b/web/client/src/sections/metadataManagement/containers/latestMetadata.js
@@ -92,7 +92,7 @@ const LatestMetadata = (props) => {
const renderTreeNode = (ds, dataSource) => {
return
{setTreeNodeTitle(ds.name)}
-
{
+ {
let record = JSON.parse(JSON.stringify(ds));
let parentData = dataSource.filter(rc => rc.id === record.parent);
record.parentName = parentData.length ? parentData[0].name : '';
@@ -107,9 +107,9 @@ const LatestMetadata = (props) => {
setModalVisible(false);
});
}} okText="确定" cancelText="取消">
-
+
- {
+ {
setEditData({ record: { parent: ds.id, parentName: ds.name }, title: '新建子类', child: true, add: true });
setModalVisible(true);
}} />