BUG 30961
This commit is contained in:
		| @@ -12,7 +12,7 @@ | |||||||
|     <div class="col-row"> |     <div class="col-row"> | ||||||
|       <div class="item" v-for="(v,label) in overviews" :key="label"> |       <div class="item" v-for="(v,label) in overviews" :key="label"> | ||||||
|         <p v-text="label"/> |         <p v-text="label"/> | ||||||
|         <h2 v-text="v"/> |         <h2 v-text="formatValue(v)"/> | ||||||
|       </div> |       </div> | ||||||
|     </div> |     </div> | ||||||
|     <div class="chart-flex"> |     <div class="chart-flex"> | ||||||
| @@ -178,7 +178,7 @@ export default { | |||||||
|   data() { |   data() { | ||||||
|     return { |     return { | ||||||
|       search: {}, |       search: {}, | ||||||
|       overviews: [], |       overviews: {}, | ||||||
|       productTop10: [], |       productTop10: [], | ||||||
|       tradeTrend: [], |       tradeTrend: [], | ||||||
|       applyInfo: {} |       applyInfo: {} | ||||||
| @@ -227,6 +227,9 @@ export default { | |||||||
|         } |         } | ||||||
|       }) |       }) | ||||||
|     }, |     }, | ||||||
|  |     formatValue(v) { | ||||||
|  |       return v?.toFixed(1) || v | ||||||
|  |     } | ||||||
|   }, |   }, | ||||||
|   created() { |   created() { | ||||||
|     this.getStaData() |     this.getStaData() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user