tangshizhe 2 rokov pred
rodič
commit
845239b6e5

+ 1 - 1
src/web/staticres/common-module/chart-module/js/chart-common.js

@@ -75,9 +75,9 @@ var vComponentChart = function (el, chartData, config, type) {
     },
     created () {
       this.chartData = chartData
-      this.getChartConfig()
     },
     mounted () {
+      this.getChartConfig()
       if(this.type === 've-treemap') {
         this.updateChartView()
       } else if (this.type === 've-line') {