mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-24 02:59:16 +08:00
fix: 编排模板列表日期格式化 (#6551)
This commit is contained in:
parent
dcdd0cc2bb
commit
753c996291
@ -47,7 +47,7 @@
|
|||||||
<el-table-column :label="$t('container.description')" prop="description" min-width="200" fix />
|
<el-table-column :label="$t('container.description')" prop="description" min-width="200" fix />
|
||||||
<el-table-column :label="$t('commons.table.createdAt')" min-width="80" fix>
|
<el-table-column :label="$t('commons.table.createdAt')" min-width="80" fix>
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
{{ dateFormatSimple(row.createdAt) }}
|
{{ dateFormat(0, 0, row.createdAt) }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<fu-table-operations :buttons="buttons" :label="$t('commons.table.operate')" />
|
<fu-table-operations :buttons="buttons" :label="$t('commons.table.operate')" />
|
||||||
@ -63,7 +63,7 @@
|
|||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { reactive, onMounted, ref } from 'vue';
|
import { reactive, onMounted, ref } from 'vue';
|
||||||
import { dateFormatSimple } from '@/utils/util';
|
import { dateFormat } from '@/utils/util';
|
||||||
import { Container } from '@/api/interface/container';
|
import { Container } from '@/api/interface/container';
|
||||||
import DetailDialog from '@/views/container/template/detail/index.vue';
|
import DetailDialog from '@/views/container/template/detail/index.vue';
|
||||||
import OperatorDialog from '@/views/container/template/operator/index.vue';
|
import OperatorDialog from '@/views/container/template/operator/index.vue';
|
||||||
|
Loading…
Reference in New Issue
Block a user