diff --git a/src/views/product/list/index.vue b/src/views/product/list/index.vue index e12b33b..d93ab2a 100644 --- a/src/views/product/list/index.vue +++ b/src/views/product/list/index.vue @@ -62,12 +62,12 @@ function sortManagerOptions(list: Api.SystemManage.UserSimple[]) { return list.slice().sort((left, right) => left.nickname.localeCompare(right.nickname, 'zh-CN')); } -function formatDateTime(value?: string | null) { +function formatDate(value?: string | null) { if (!value) { return '--'; } - return dayjs(value).format('YYYY-MM-DD HH:mm:ss'); + return dayjs(value).format('YYYY-MM-DD'); } const statusNavMetas: StatusNavMeta[] = [ @@ -210,7 +210,7 @@ const { columns, columnChecks, data, loading, getDataByPage, mobilePagination } label: '最近更新', width: 170, align: 'center', - formatter: row => formatDateTime(row.updateTime) + formatter: row => formatDate(row.updateTime) } ], immediate: false diff --git a/src/views/project/list/index.vue b/src/views/project/list/index.vue index b418bb2..a7000da 100644 --- a/src/views/project/list/index.vue +++ b/src/views/project/list/index.vue @@ -1,6 +1,6 @@ - - - - diff --git a/src/views/workbench/modules/workbench-todo-panel.vue b/src/views/workbench/modules/workbench-todo-panel.vue index a512b22..641af6e 100644 --- a/src/views/workbench/modules/workbench-todo-panel.vue +++ b/src/views/workbench/modules/workbench-todo-panel.vue @@ -1,16 +1,23 @@