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>
pull/187/head
青木 2025-08-03 13:28:05 +00:00 committed by Gitee
parent aa6639a108
commit ec14751aeb
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 3 additions and 3 deletions

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' },
},