Fixed DAG zoom in and zoom out nodes separated from arrows #1679 (#1680)

* Fix api url

* Fixed DAG zoom in and zoom out nodes separated from arrows
This commit is contained in:
break60 2020-01-03 17:50:05 +08:00 committed by lgcareer
parent 0e66c71f38
commit 3477d28de8
2 changed files with 9 additions and 2 deletions

View File

@ -309,13 +309,13 @@ svg path:hover {
//min-width: calc(100% - 220px);
width: 8000px;
height: 5000px;
position: relative;
svg:not(:root){
z-index: 11;
}
}
.jtk-demo-canvas {
position: relative;
height: 100%;
}

View File

@ -187,6 +187,13 @@
})
if (this.tasks.length) {
Dag.backfill(true)
if (this.type === 'instance') {
this._getTaskState(false).then(res => {})
// Round robin acquisition status
this.setIntervalP = setInterval(() => {
this._getTaskState(true).then(res => {})
}, 90000)
}
} else {
Dag.create()
}