fix: 添加失效的option

This commit is contained in:
dap 2025-01-10 15:10:41 +08:00
parent 8276026b01
commit 7a3c211db7

View File

@ -22,14 +22,15 @@ export const publishStatusOptions = [
label: '已发布',
value: 1,
color: 'success',
enumName: 'Published',
},
{
label: '未发布',
value: 0,
color: 'error',
enumName: 'Unpublished',
color: 'warning',
},
] as const;
export const PublishStatusEnum = optionsToEnum(publishStatusOptions);
{
label: '失效',
value: 9,
color: 'error',
},
];