时间显示统一修改为年月日

This commit is contained in:
付民康
2025-03-27 11:09:31 +08:00
parent 878aedac89
commit 0e1f61bc86
2 changed files with 6 additions and 3 deletions

View File

@@ -108,7 +108,10 @@
<a @click="gotoDetail(scope.row)">{{ scope.row.version }}</a>
</template>
<template v-else-if="column.key === 'releaseDate'">
<span>{{ formatTime(scope.row.releaseDate, 'YYYY-MM-DD HH:mm:ss') }}</span>
<span>{{ formatTime(scope.row.releaseDate, 'YYYY-MM-DD') }}</span>
</template>
<template v-else-if="column.key === 'eolDate'">
<span>{{ formatTime(scope.row.eolDate, 'YYYY-MM-DD') }}</span>
</template>
<template v-else-if="column.key === 'softwareVersion'">
<a @click="gotoDetail(scope.row)">{{ scope.row.softwareVersion }}</a>