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