Vue3 重构:简化 formatDate

This commit is contained in:
YunaiV
2023-03-25 01:01:50 +08:00
parent eb29f8e2c5
commit 44dc02a02e
6 changed files with 7 additions and 8 deletions

View File

@ -101,7 +101,7 @@
<el-table-column label="请求地址" align="center" prop="requestUrl" width="250" />
<el-table-column label="请求时间" align="center" prop="beginTime" width="180">
<template #default="scope">
<span>{{ formatDate(scope.row.beginTime, 'YYYY-MM-DD HH:mm:ss') }}</span>
<span>{{ formatDate(scope.row.beginTime) }}</span>
</template>
</el-table-column>
<el-table-column label="执行时长" align="center" prop="duration" width="180">