diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGrid.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGrid.vue index 073d73357e..d674b1d13a 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGrid.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGrid.vue @@ -38,7 +38,20 @@ }, mounted () { const graphGrid = echarts.init(this.$refs['graph-grid']) - graphGrid.setOption(graphGridOption(this.locations, this.connects, this.sourceWorkFlowCode, this.isShowLabel), true) + graphGrid.setOption( + graphGridOption( + this.locations.map(item => { + item.crontab = item.crontab !== null ? item.crontab : '-' + item.scheduleEndTime = item.scheduleEndTime !== null ? item.scheduleEndTime : '-' + item.scheduleStartTime = item.scheduleStartTime !== null ? item.scheduleStartTime : '-' + return item + }), + this.connects, + this.sourceWorkFlowCode, + this.isShowLabel + ), + true + ) graphGrid.on('click', (params) => { // Jump to the definition page this.$router.push({ path: `/projects/${this.projectCode}/definition/list/${params.data.code}` })