mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-08 07:31:09 +08:00
refactor: 个人中心不需要显示重复字段
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user