vue3.0 时间戳转时间
由于 3.0 移除了2.0 的 filters 后,
所以在3.0中,设置:
table
:data="tableData"
style="width: 100%"
:fit="true"
@selection-change="handleSelectionChange"
row-key="id"
:header-cell-style="{background:'#F5F6FA',color:'#585858',textAlign: 'center',fontSize: '12px'}">
column
prop="createTime"
label="导入时间"
align="center"
min-width="160"
show-overflow-tooltip
>
"scope">
if="scope.row.createTime !== null">{{formatDate(scope.row.createTime)}}