!187 update apps/web-ele/src/views/system/user/data.ts.

Merge pull request !187 from 青木/N/A
This commit is contained in:
xingyu
2025-08-04 09:58:23 +00:00
committed by Gitee

View File

@@ -323,8 +323,8 @@ export function useGridColumns<T = SystemUserApi.User>(
attrs: { beforeChange: onStatusChange }, attrs: { beforeChange: onStatusChange },
name: 'CellSwitch', name: 'CellSwitch',
props: { props: {
checkedValue: CommonStatusEnum.ENABLE, activeValue: CommonStatusEnum.ENABLE,
unCheckedValue: CommonStatusEnum.DISABLE, inactiveValue: CommonStatusEnum.DISABLE,
}, },
}, },
}, },
@@ -336,7 +336,7 @@ export function useGridColumns<T = SystemUserApi.User>(
}, },
{ {
title: '操作', title: '操作',
width: 250, width: 180,
fixed: 'right', fixed: 'right',
slots: { default: 'actions' }, slots: { default: 'actions' },
}, },