Browse Source

Merge pull request #3759 from break60/1.3.3-release

[Bug-3548][UI] Monitor gauge chart display blank with same pid
pull/3/MERGE
xingchun-chen 4 years ago committed by GitHub
parent
commit
2a77ac3a84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/master.vue
  2. 1
      dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/worker.vue

1
dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/master.vue

@ -95,6 +95,7 @@
this.getMasterData().then(res => { this.getMasterData().then(res => {
this.masterList = _.map(res, (v, i) => { this.masterList = _.map(res, (v, i) => {
return _.assign(v, { return _.assign(v, {
id: v.host + "_" + v.id,
resInfo: JSON.parse(v.resInfo) resInfo: JSON.parse(v.resInfo)
}) })
}) })

1
dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/worker.vue

@ -115,6 +115,7 @@
this.getWorkerData().then(res => { this.getWorkerData().then(res => {
this.workerList = _.map(res, (v, i) => { this.workerList = _.map(res, (v, i) => {
return _.assign(v, { return _.assign(v, {
id: v.host + "_" + v.id,
resInfo: JSON.parse(v.resInfo) resInfo: JSON.parse(v.resInfo)
}) })
}) })

Loading…
Cancel
Save