There was an error while loading. Please reload this page.
1 parent 6afa6dc commit 78a22ccCopy full SHA for 78a22cc
src/component/treeDiagram.vue
@@ -13,7 +13,7 @@ export default {
13
components: {},
14
methods: {
15
handleNodePosition() {
16
- this.$emit('before-justify-node');
+ this.$emit('before-render-node');
17
this.$nextTick(() => {
18
const { nodePad, levelPad, direction } = this;
19
const {
@@ -34,7 +34,7 @@ export default {
34
this.diagramWidth = diagramWidth;
35
this.diagramHeight = diagramHeight;
36
this.linkPath = linkPath;
37
- this.$emit('after-justify-node');
+ this.$emit('after-render-node');
38
});
39
},
40
handleNodeClick(e) {
0 commit comments