fix(custom): 订单列表统计小数点后两位不显示
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<div flex>
|
||||
<n-card w-500>
|
||||
<n-statistic label="订单流水" tabular-nums>
|
||||
<n-number-animation :from="0" :to="cardData.total" />
|
||||
<n-number-animation :from="0" :to="cardData.total" :precision="2" />
|
||||
</n-statistic>
|
||||
</n-card>
|
||||
<n-card ml-10 w-500>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<div flex>
|
||||
<n-card w-200 rounded-5>
|
||||
<n-statistic label="交易额(元)" tabular-nums>
|
||||
<n-number-animation :from="0" :to="cardData.total" />
|
||||
<n-number-animation :from="0" :to="cardData.total" :precision="2" />
|
||||
</n-statistic>
|
||||
</n-card>
|
||||
<n-card ml-10 w-200 rounded-5>
|
||||
|
||||
Reference in New Issue
Block a user