mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-04-10 05:23:15 +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';
|
import { columns } from '#/views/monitor/online/data';
|
||||||
|
|
||||||
const gridOptions: VxeGridProps = {
|
const gridOptions: VxeGridProps = {
|
||||||
columns,
|
// 个人中心不需要显示重复字段
|
||||||
|
columns: columns?.filter(
|
||||||
|
(item) => !['deptName', 'userName'].includes(item.field ?? ''),
|
||||||
|
),
|
||||||
keepSource: true,
|
keepSource: true,
|
||||||
pagerConfig: {
|
pagerConfig: {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user