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

@@ -28,7 +28,9 @@ export default {
}
},
mounted() {
this.initChart()
this.$nextTick(() => {
this.initChart()
})
this.__resizeHandler = debounce(() => {
if (this.chart) {
this.chart.resize()
@@ -58,7 +60,6 @@ export default {
bottom: '10',
data: ['Industries', 'Technology', 'Forex', 'Gold', 'Forecasts']
},
calculable: true,
series: [
{
name: 'WEEKLY WRITE ARTICLES',