mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-04 13:17:50 +08:00
* Fix api url * Fixed DAG zoom in and zoom out nodes separated from arrows
This commit is contained in:
parent
0e66c71f38
commit
3477d28de8
@ -309,13 +309,13 @@ svg path:hover {
|
|||||||
//min-width: calc(100% - 220px);
|
//min-width: calc(100% - 220px);
|
||||||
width: 8000px;
|
width: 8000px;
|
||||||
height: 5000px;
|
height: 5000px;
|
||||||
position: relative;
|
|
||||||
svg:not(:root){
|
svg:not(:root){
|
||||||
z-index: 11;
|
z-index: 11;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.jtk-demo-canvas {
|
.jtk-demo-canvas {
|
||||||
|
position: relative;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -161,7 +161,7 @@
|
|||||||
// DAG automatic layout
|
// DAG automatic layout
|
||||||
dagAutomaticLayout() {
|
dagAutomaticLayout() {
|
||||||
$('#canvas').html('')
|
$('#canvas').html('')
|
||||||
|
|
||||||
// Destroy round robin
|
// Destroy round robin
|
||||||
Dag.init({
|
Dag.init({
|
||||||
dag: this,
|
dag: this,
|
||||||
@ -187,6 +187,13 @@
|
|||||||
})
|
})
|
||||||
if (this.tasks.length) {
|
if (this.tasks.length) {
|
||||||
Dag.backfill(true)
|
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 {
|
} else {
|
||||||
Dag.create()
|
Dag.create()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user