时间样式

This commit is contained in:
liaozetao
2024-02-27 21:10:11 +08:00
committed by Dragon
parent d20ba9e3a3
commit ce7ed33f03

View File

@@ -38,7 +38,7 @@
</el-table-column>
<el-table-column align="center" fixed label="轮次持续时间">
<template v-slot="scope">
{{ scope.row.roundTime > 60 ? (Math.floor(scope.row.roundTime / 60) + 'min') : (scope.row.roundTime + 'sec') }}
{{ scope.row.roundTime > 60 ? (Math.floor(scope.row.roundTime / 60 / 1000) + 'min') : ((scope.row.roundTime / 1000) + 'sec') }}
</template>
</el-table-column>
<el-table-column align="center" fixed prop="giftInfo" label="礼物信息">