Commit 495433a4 by liangjianmin

bug

parent a4b2d9cb
Showing with 6 additions and 10 deletions
......@@ -252,18 +252,8 @@
}
};
},
watch: {},
created() {
},
mounted() {
var self = this;
this.getData();
window.onresize = function () {
console.log('test')
self.getData();
};
},
methods: {
getData() {
......@@ -344,6 +334,12 @@
myChart.setOption(option);
myChart1.setOption(option);
myChart2.setOption(option1);
window.onresize = function () {
myChart.resize();
myChart1.resize();
myChart2.resize();
};
}
},
components: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment