From daf681ae1a79576e68e0ea09f8e083a29d0de473 Mon Sep 17 00:00:00 2001 From: Vicky <10212746+haifeng-jiang@user.noreply.gitee.com> Date: Tue, 27 Oct 2026 14:39:18 +0800 Subject: [PATCH] =?UTF-8?q?fix(admin):=20=E8=A7=82=E7=9C=8B=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E7=BB=9F=E4=B8=80=E6=A0=BC=E5=BC=8F=E5=8C=96=E4=B8=BA?= =?UTF-8?q?=20yyyy-MM-dd=20HH:mm:ss?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 后端改输出格式后仍保留前端兜底,同时修掉用户详情里的原始 ISO 展示。 --- src/views/userManagement/AppUsersView.vue | 5 ++++- src/views/userManagement/WatchHistoryView.vue | 6 ++++-- src/views/userManagement/composables/useAppUsers.js | 6 ++++++ 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/views/userManagement/AppUsersView.vue b/src/views/userManagement/AppUsersView.vue index ab5c11e..07cb670 100644 --- a/src/views/userManagement/AppUsersView.vue +++ b/src/views/userManagement/AppUsersView.vue @@ -9,6 +9,7 @@ import { useRbac } from '@/stores/rbac' import { APP_USER_STATUS, COUNTRY_OPTIONS, + formatDateTime, formatDuration, statusMeta, systemText, @@ -312,7 +313,9 @@ function canBeBanned(row) { SOURCE_TEXT[row.source] || row.source || '—' }} - + + + diff --git a/src/views/userManagement/WatchHistoryView.vue b/src/views/userManagement/WatchHistoryView.vue index 4ccfc27..e834a6d 100644 --- a/src/views/userManagement/WatchHistoryView.vue +++ b/src/views/userManagement/WatchHistoryView.vue @@ -5,7 +5,7 @@ import { onMounted, reactive, ref } from 'vue' import PageHeading from '@/views/components/PageHeading.vue' import AppUserCell from '@/views/components/AppUserCell.vue' import { pageWatchHistoryApi } from '@/api/admin/appUser' -import { formatDuration, platformText } from './composables/useAppUsers' +import { formatDateTime, formatDuration, platformText } from './composables/useAppUsers' const SOURCE_OPTIONS = [ { value: '', label: '全部' }, @@ -190,7 +190,9 @@ onMounted(load) class="drama-el-table" empty-text="暂无符合条件的观看记录" > - + + +