[代码优化](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

@@ -163,11 +163,7 @@
/>
</template>
</el-table-column>
<el-table-column :show-overflow-tooltip="true" prop="createTime" width="135" label="创建日期">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.createTime) }}</span>
</template>
</el-table-column>
<el-table-column :show-overflow-tooltip="true" prop="createTime" width="135" label="创建日期" />
<el-table-column
v-if="checkPer['admin','user:edit','user:del']"
label="操作"