add dayjs plugin
This commit is contained in:
1 parent
57b44f1d28
commit
74f62354a2
7 files changed
+49
-2
No files matched your search
@@ -11,7 +11,11 @@
|
||||
>
|
||||
<el-table :data="items" v-loading="loading">
|
||||
<el-table-column prop="title" :label="$t('common.entity.title')"> </el-table-column>
|
||||
<el-table-column prop="updated_at" :label="$t('common.entity.updatedAt')"> </el-table-column>
|
||||
<el-table-column prop="updated_at" :label="$t('common.entity.updatedAt')">
|
||||
<template #default="scope">
|
||||
{{ $dayjs.format(scope.row.updated_at) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column :label="$t('common.entity.operation')">
|
||||
<template #default="scope">
|
||||
<el-button @click="onEdit(scope.row)" round type="primary" size="mini">
|
||||
|
||||
Reference in new issue
Block a user