Commit cb57acd5 by 李伟康

提交代码

1 parent 501916bb
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
{'up':dataBoard[item.half]>0}, {'up':dataBoard[item.half]>0},
{'down':dataBoard[item.half]<0} {'down':dataBoard[item.half]<0}
]"></div> ]"></div>
<span class="num">{{Math.abs(dataBoard[item.half]) || 0}}</span> <span class="num">{{Math.round(Math.abs(dataBoard[item.half])) || 0}}</span>
</div> </div>
</template> </template>
</div> </div>
...@@ -217,7 +217,7 @@ export default { ...@@ -217,7 +217,7 @@ export default {
getDataBoardApi () { getDataBoardApi () {
let { activityId } = this.$route.query, let { activityId } = this.$route.query,
{ statDate } = this.searchForm { statDate } = this.searchForm
this.$apis.seckillActivity.getDataBoardApi({ activityId, statDate: dayjs(statDate).format('YYYY-MM-DD') }).then(res => { this.$apis.seckillActivity.getDataBoardApi({ activityId, statDimension: dayjs(statDate).format('YYYY-MM-DD') }).then(res => {
this.dataBoard = res || {} this.dataBoard = res || {}
}) })
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!