fix: status seletor value error

This commit is contained in:
chansee97 2025-09-14 21:53:51 +08:00
parent df11b5a97c
commit d6dcf017c4
2 changed files with 4 additions and 16 deletions

View File

@ -18,14 +18,8 @@ export const searchColumns: ProSearchFormColumns<Entity.Role> = [
field: 'select', field: 'select',
fieldProps: { fieldProps: {
options: [ options: [
{ { label: '正常', value: 0 },
label: '启用', { label: '停用', value: 1 },
value: 1,
},
{
label: '禁用',
value: 0,
},
], ],
}, },
}, },

View File

@ -18,14 +18,8 @@ export const searchColumns: ProSearchFormColumns<Entity.User> = [
field: 'select', field: 'select',
fieldProps: { fieldProps: {
options: [ options: [
{ { label: '正常', value: 0 },
label: '启用', { label: '停用', value: 1 },
value: 0,
},
{
label: '禁用',
value: 1,
},
], ],
}, },
}, },