Skip to content

Commit 72d8555

Browse files
committed
fix bug
1 parent 11ba8e2 commit 72d8555

File tree

1 file changed

+6
-1
lines changed
  • web/src/apps/dataGovernance/view/assetsInfo/components/lineage

1 file changed

+6
-1
lines changed

web/src/apps/dataGovernance/view/assetsInfo/components/lineage/index.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ export default {
2222
required: true
2323
}
2424
},
25+
watch: {
26+
lineageData() {
27+
this.createOrUpdateCanvas(this.convertData())
28+
}
29+
},
2530
methods: {
2631
convertData() {
2732
let data = {
@@ -93,7 +98,7 @@ export default {
9398
})
9499
this.canvas.draw(data);
95100
} else {
96-
this.canvas.drageReDraw(data);
101+
this.canvas.redraw(data);
97102
}
98103
}
99104
},

0 commit comments

Comments
 (0)