[代码优化](v2.6):日期格式化返回,无需再进行转换

close https://github.com/elunez/eladmin/issues/514
This commit is contained in:
zhengjie
2020-12-12 21:26:35 +08:00
parent 1526db3d46
commit fe24067a5a
20 changed files with 20 additions and 98 deletions

View File

@@ -38,11 +38,7 @@
<el-tag :type="scope.row.isSuccess ? 'success' : 'danger'">{{ scope.row.isSuccess ? '成功' : '失败' }}</el-tag>
</template>
</el-table-column>
<el-table-column :show-overflow-tooltip="true" prop="createTime" label="创建日期">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.createTime) }}</span>
</template>
</el-table-column>
<el-table-column :show-overflow-tooltip="true" prop="createTime" label="创建日期" />
</el-table>
<el-dialog :visible.sync="errorDialog" append-to-body title="异常详情" width="85%">
<pre v-highlightjs="errorInfo"><code class="java" /></pre>