Skip to content

Commit

Permalink
Fix addNodeImport Vue3
Browse files Browse the repository at this point in the history
  • Loading branch information
jerosoler committed Oct 20, 2021
1 parent dfd8773 commit 3b667c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drawflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -1360,7 +1360,7 @@ export default class Drawflow {
} else {
if(parseInt(this.render.version) === 3 ) {
//Vue 3
let wrapper = this.render.h(this.noderegister[html].html, this.noderegister[html].props, this.noderegister[html].options);
let wrapper = this.render.h(this.noderegister[dataNode.html].html, this.noderegister[dataNode.html].props, this.noderegister[dataNode.html].options);
wrapper.appContext = this.parent;
this.render.render(wrapper,content);

Expand Down

0 comments on commit 3b667c8

Please sign in to comment.