Browse Source

merge from 1.3.3-release

pull/3/MERGE
baoliang 4 years ago
parent
commit
e2c2d3efde
  1. 9
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.js

9
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.js

@ -53,7 +53,9 @@ Dag.prototype.setConfig = function (o) {
*/
Dag.prototype.create = function () {
const self = this
jsPlumb.ready(() => {
let plumbIns = jsPlumb.getInstance()
plumbIns.reset()
plumbIns.ready(() => {
JSP.init({
dag: this.dag,
instance: this.instance,
@ -164,7 +166,10 @@ Dag.prototype.backfill = function (arg) {
})
})
} else {
jsPlumb.ready(() => {
const self = this
let plumbIns = jsPlumb.getInstance()
plumbIns.reset()
plumbIns.ready(() => {
JSP.init({
dag: this.dag,
instance: this.instance,

Loading…
Cancel
Save