fix:修改所有关于表格的时间显示问题

This commit is contained in:
zhangyu
2021-05-10 13:49:27 +08:00
parent 03657068ab
commit f56ca0fac5
9 changed files with 26 additions and 23 deletions

View File

@@ -43,11 +43,14 @@
<template v-else-if="item.prop === 'remote'">
<span>{{getRemoteText(scope.row)}}</span>
</template>
<template v-else-if="item.prop === 'startTime'">
<span> {{utcTimeToTimezoneStr(scope.row.startTime)}}</span>
</template>
<template v-else-if="item.prop === 'duration'">
<el-tooltip :disabled="!scope.row.status" effect="light" placement="right">
<div slot="content">
{{$t('config.terminallog.endTime')}}<br/>
{{scope.row.endTime}}
{{utcTimeToTimezoneStr(scope.row.endTime)}}
</div>
<span>{{getDuration(scope.row)}}</span>
</el-tooltip>