style: format user creation time to display only date
This commit is contained in:
@ -40,7 +40,7 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column v-if="hasColumnPermission('created_at')" prop="created_at" label="创建时间" width="160" />
|
||||
<el-table-column v-if="hasColumnPermission('created_at')" prop="created_at" label="创建时间" width="160" :formatter="(row) => row.created_at ? row.created_at.split('T')[0] : '-'" />
|
||||
|
||||
<el-table-column v-if="userStore.hasPermission('system_user:operation')" label="操作" width="180" fixed="right">
|
||||
<template #default="scope">
|
||||
|
||||
Reference in New Issue
Block a user