fix:时间未格式化

pull/47/head
dtsz 2023-03-23 12:27:23 +08:00
parent 7f1121b450
commit f227bb12e0
1 changed files with 2 additions and 1 deletions

View File

@ -92,7 +92,7 @@
<el-table-column label="请求地址" align="center" prop="requestUrl" width="250" />
<el-table-column label="异常发生时间" align="center" prop="exceptionTime" width="180">
<template #default="scope">
<span>{{ scope.row.exceptionTime }}</span>
<span>{{ formatDate(scope.row.exceptionTime, 'YYYY-MM-DD HH:mm:ss') }}</span>
</template>
</el-table-column>
<el-table-column label="异常名" align="center" prop="exceptionName" width="250" />
@ -157,6 +157,7 @@
<script setup lang="ts" name="ApiErrorLog">
import { DICT_TYPE, getDictOptions } from '@/utils/dict'
import download from '@/utils/download'
import { formatDate } from '@/utils/formatTime'
import * as ApiErrorLogApi from '@/api/infra/apiErrorLog'
import ApiErrorLogDetail from './detail.vue'
import { InfraApiErrorLogProcessStatusEnum } from '@/utils/constants'