fix: 添加失效的option
This commit is contained in:
parent
8276026b01
commit
7a3c211db7
@ -22,14 +22,15 @@ export const publishStatusOptions = [
|
|||||||
label: '已发布',
|
label: '已发布',
|
||||||
value: 1,
|
value: 1,
|
||||||
color: 'success',
|
color: 'success',
|
||||||
enumName: 'Published',
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '未发布',
|
label: '未发布',
|
||||||
value: 0,
|
value: 0,
|
||||||
color: 'error',
|
color: 'warning',
|
||||||
enumName: 'Unpublished',
|
|
||||||
},
|
},
|
||||||
] as const;
|
{
|
||||||
|
label: '失效',
|
||||||
export const PublishStatusEnum = optionsToEnum(publishStatusOptions);
|
value: 9,
|
||||||
|
color: 'error',
|
||||||
|
},
|
||||||
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user