From 2ce341ffe180d202206e86d083c5d702c51d9788 Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Tue, 16 Sep 2025 19:59:53 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=B8=AA=E4=BA=BA=E4=B8=AD?= =?UTF-8?q?=E5=BF=83=E4=B8=8D=E9=9C=80=E8=A6=81=E6=98=BE=E7=A4=BA=E9=87=8D?= =?UTF-8?q?=E5=A4=8D=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/_core/profile/components/online-device.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/web-antd/src/views/_core/profile/components/online-device.vue b/apps/web-antd/src/views/_core/profile/components/online-device.vue index 926f2bab..52f1b7ed 100644 --- a/apps/web-antd/src/views/_core/profile/components/online-device.vue +++ b/apps/web-antd/src/views/_core/profile/components/online-device.vue @@ -10,7 +10,10 @@ import { forceLogout2, onlineDeviceList } from '#/api/monitor/online'; import { columns } from '#/views/monitor/online/data'; const gridOptions: VxeGridProps = { - columns, + // 个人中心不需要显示重复字段 + columns: columns?.filter( + (item) => !['deptName', 'userName'].includes(item.field ?? ''), + ), keepSource: true, pagerConfig: { enabled: false,