accept drop from explore file or node
This commit is contained in:
1 parent
0ff92fe429
commit
f8d04581d1
4 files changed
+45
-3
No files matched your search
@@ -310,6 +310,8 @@ export const createTreeData = (node: NodeModel, parent?: string) => {
|
||||
treeData.lastModified = fs.statSync(subtreePath).mtimeMs;
|
||||
treeData.path = node.path;
|
||||
treeData.debug = node.debug;
|
||||
treeData.parent = parent;
|
||||
treeData.id = node.id.toFixed();
|
||||
treeData.size = calcTreeDataSize(treeData);
|
||||
} catch (error) {
|
||||
message.error(`解析子树失败:${node.path}`);
|
||||
|
||||
Reference in new issue
Block a user