Browse Source

Merge pull request #152 from millionfor/dev-20190415

Dev 20190415
pull/2/head
millionfor 6 years ago committed by GitHub
parent
commit
2abe85861e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      escheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/chartConfig.js
  2. 4
      escheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/queueCount.vue

3
escheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/chartConfig.js

@ -90,7 +90,8 @@ let simple = {
}) })
return str return str
} }
} },
color:['#D5050B','#0398E1']
} }

4
escheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/queueCount.vue

@ -54,7 +54,9 @@
value: v value: v
})) }))
const myChart = Chart.pie('#queue-pie', this.queueList, { title: '' }) const myChart = Chart.pie('#queue-pie', this.queueList, { title: '' })
myChart.echart.setOption(pie) myChart.echart.setOption(_.assign(_.cloneDeep(pie),{
color:['#D5050B','#0398E1']
}))
} }
}, },
watch: { watch: {

Loading…
Cancel
Save