NodePanel render args

This commit is contained in:
zhandouxiaojiji committed 2020-11-02 19:55:49 +08:00
1 parent a118958cf0
commit a891fc7122
5 files changed
+114 -22

No files matched your search

+2 -1
View File
@@ -285,12 +285,13 @@ export default class Editor extends React.Component<EditorProps, EditorState> {
}
render() {
console.log("render editor")
const { curNodeId, treeModel, settings } = this.state;
var curNode: any;
if (curNodeId) {
curNode = this.graph.findDataById(curNodeId);
}
console.log("render editor", curNodeId);
return (
<div className="editor">
<Row className="editorBd">