From d6dcf017c45924486f162ab3514bc922b38e11b3 Mon Sep 17 00:00:00 2001 From: chansee97 Date: Sun, 14 Sep 2025 21:53:51 +0800 Subject: [PATCH] fix: status seletor value error --- src/views/system/role/columns.tsx | 10 ++-------- src/views/system/user/columns.tsx | 10 ++-------- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/src/views/system/role/columns.tsx b/src/views/system/role/columns.tsx index cdf3801..6b3c082 100644 --- a/src/views/system/role/columns.tsx +++ b/src/views/system/role/columns.tsx @@ -18,14 +18,8 @@ export const searchColumns: ProSearchFormColumns = [ field: 'select', fieldProps: { options: [ - { - label: '启用', - value: 1, - }, - { - label: '禁用', - value: 0, - }, + { label: '正常', value: 0 }, + { label: '停用', value: 1 }, ], }, }, diff --git a/src/views/system/user/columns.tsx b/src/views/system/user/columns.tsx index aa9ed7f..c1583ab 100644 --- a/src/views/system/user/columns.tsx +++ b/src/views/system/user/columns.tsx @@ -18,14 +18,8 @@ export const searchColumns: ProSearchFormColumns = [ field: 'select', fieldProps: { options: [ - { - label: '启用', - value: 0, - }, - { - label: '禁用', - value: 1, - }, + { label: '正常', value: 0 }, + { label: '停用', value: 1 }, ], }, },