From f2e28c07897a21792982be846e3bfa6732157e59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=86=9B?= <510423039@qq.com> Date: Fri, 9 Jun 2023 15:14:56 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=A1=E8=AE=A1=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=A1=A8=E6=A0=BC=E6=8E=92=E5=BA=8F=E7=A4=BA?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vben28/src/views/admin/auditLog/AuditLog.ts | 1 + vben28/src/views/admin/auditLog/AuditLogDetail.vue | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/vben28/src/views/admin/auditLog/AuditLog.ts b/vben28/src/views/admin/auditLog/AuditLog.ts index 5512e7be..50640e4f 100644 --- a/vben28/src/views/admin/auditLog/AuditLog.ts +++ b/vben28/src/views/admin/auditLog/AuditLog.ts @@ -75,6 +75,7 @@ export const tableColumns: BasicColumn[] = [ return formatToDateTime(text); }, width: 150, + sorter: true, }, { title: t('routes.admin.executionDuration'), diff --git a/vben28/src/views/admin/auditLog/AuditLogDetail.vue b/vben28/src/views/admin/auditLog/AuditLogDetail.vue index 60e87d0c..49da7261 100644 --- a/vben28/src/views/admin/auditLog/AuditLogDetail.vue +++ b/vben28/src/views/admin/auditLog/AuditLogDetail.vue @@ -13,13 +13,11 @@ setup() { const { t } = useI18n(); const auditLogInfo = ref({}); - let entityChanges; const [register] = useDrawerInner((data) => { - console.log(JSON.stringify(data.record)); auditLogInfo.value = unref(data.record); }); - return { t, register, entityChanges, auditLogInfo }; + return { t, register, auditLogInfo }; }, });