Skip to content

Commit

Permalink
fix: 编排模板列表日期格式化 (#6551)
Browse files Browse the repository at this point in the history
  • Loading branch information
john1298308460 authored and wanghe-fit2cloud committed Sep 23, 2024
1 parent 7961bdd commit 9be9f19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/views/container/template/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<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>
<template #default="{ row }">
{{ dateFormatSimple(row.createdAt) }}
{{ dateFormat(0, 0, row.createdAt) }}
</template>
</el-table-column>
<fu-table-operations :buttons="buttons" :label="$t('commons.table.operate')" />
Expand All @@ -63,7 +63,7 @@

<script lang="ts" setup>
import { reactive, onMounted, ref } from 'vue';
import { dateFormatSimple } from '@/utils/util';
import { dateFormat } from '@/utils/util';
import { Container } from '@/api/interface/container';
import DetailDialog from '@/views/container/template/detail/index.vue';
import OperatorDialog from '@/views/container/template/operator/index.vue';
Expand Down

0 comments on commit 9be9f19

Please sign in to comment.