perf[style]: refine dashboard style in mobile (#2060)

This commit is contained in:
花裤衩
2019-05-10 18:39:05 +08:00
committed by GitHub
parent 0b8baeb14d
commit 7b0d527bf9
6 changed files with 56 additions and 7 deletions

View File

@@ -30,7 +30,9 @@ export default {
}
},
mounted() {
this.initChart()
this.$nextTick(() => {
this.initChart()
})
this.__resizeHandler = debounce(() => {
if (this.chart) {
this.chart.resize()