Browse Source

bug fixed

duwendi 1 year ago
parent
commit
28fe23040d

+ 1 - 1
src/pages/index/components/night_parking_statistics.vue

@@ -9,7 +9,7 @@
9 9
           :bottom="180"
10 10
           :left="40"
11 11
           :legendTop="0"
12
-          yAxisName="(停车数)"
12
+          yAxisName="(小时)"
13 13
           :dataset="linedata"
14 14
           :xlabelFormat="taskFinishXFormat"
15 15
           :tooltipFormat="lineTooltipFormat"

+ 1 - 1
src/pages/index/components/vehicle_type.vue

@@ -56,7 +56,7 @@
56 56
       <div style="width: 50%;height: 500px;">
57 57
         <h4 style="color: white">新能源车排名</h4>
58 58
         <div class="progress-wrapper">
59
-          <div style="display: flex;line-height: 50px;" v-for="item in progresslist">
59
+          <div style="display: flex;line-height: 50px;" :key="item.label" v-for="item in progresslist">
60 60
             <span style="color: #fff; padding: 0 10px;">{{item.label}}</span>
61 61
             <el-progress :text-inside="false" :stroke-width="26" :percentage="item.value" define-back-color="#191e3a" text-color="#888ea8"></el-progress>
62 62
           </div>