mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-11-11 12:57:10 +08:00
refactor: 优化用户管理代码
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
interface LabelValueItem { label: string, value: number, color: string }
|
||||
interface LabelValueItem { label: string, value: number, color?: string }
|
||||
|
||||
/** @desc 状态 */
|
||||
export const DisEnableStatusList: LabelValueItem[] = [
|
||||
{ label: '启用', value: 1, color: 'green' },
|
||||
{ label: '禁用', value: 2, color: 'red' },
|
||||
]
|
||||
|
||||
/** @desc 性别 */
|
||||
export const GenderList: LabelValueItem[] = [
|
||||
{ label: '男', value: 1 },
|
||||
{ label: '女', value: 2 },
|
||||
{ label: '未知', value: 0 },
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user