From 7a3c211db77129d56872d2ef1b24e76631e947eb Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Fri, 10 Jan 2025 15:10:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B7=BB=E5=8A=A0=E5=A4=B1=E6=95=88?= =?UTF-8?q?=E7=9A=84option?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/workflow/processDefinition/constant.ts | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/apps/web-antd/src/views/workflow/processDefinition/constant.ts b/apps/web-antd/src/views/workflow/processDefinition/constant.ts index f9eced2e..e24dfc7f 100644 --- a/apps/web-antd/src/views/workflow/processDefinition/constant.ts +++ b/apps/web-antd/src/views/workflow/processDefinition/constant.ts @@ -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', + }, +];