Browse Source

大小写错误BUG修复

yangxiao 3 years ago
parent
commit
d5b7114846

+ 0 - 1
src/components/chart/scatter/normal-scatter-chart.vue

@@ -556,7 +556,6 @@ export default {
     series () {
       let result = [];
       this.data.forEach((element, index) => {
-        console.log(index, element)
         result.push({
           name: element.title,
           type: "scatter",

File diff suppressed because it is too large
+ 6 - 0
src/views/Home/components/map/MHS_FDC.vue


+ 4 - 3
src/views/windAnalysis/tab1.vue

@@ -84,12 +84,13 @@ export default {
           month: (that.recorddate ? (new Date(that.recorddate).getMonth() + 1) : ""),
         },
         success (res) {
-          let ChartData = [{
+          let chartData = [{
             title: "风资源分析",
             value: (res.data || [])
           }];
-          that.ChartData = ChartData;
-          console.log(123123, ChartData);
+          that.$nextTick(()=>{
+            that.chartData = chartData;
+          });
         }
       });
     },