Commit faae8589 by xinla

--no commit message

1 parent 7dde7739
...@@ -325,6 +325,9 @@ export default { ...@@ -325,6 +325,9 @@ export default {
obj.style.width = '100%' obj.style.width = '100%'
obj.style.height = '380px' obj.style.height = '380px'
this.charts = echarts.init(obj) this.charts = echarts.init(obj)
window.onresize = function() {
charts.resize()
}
this.charts.setOption({ this.charts.setOption({
color: [color], color: [color],
tooltip: { tooltip: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!