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

对应ele的 vxe-table的activeValue: 1,inactiveValue: 0

Signed-off-by: 青木 <720227+9mgps@user.noreply.gitee.com>
This commit is contained in:
青木
2025-08-03 13:28:05 +00:00
committed by Gitee
parent aa6639a108
commit ec14751aeb

View File

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