mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-15 01:32:01 +08:00
refactor(workflow): 替换 Switch 为 ApiSwitch 并优化状态常量
将流程定义列表中的 Switch 组件替换为 ApiSwitch 以统一异步操作处理,并添加 `as const` 修饰常量以提高类型安全性。同时修复激活状态逻辑,确保与系统其他定义一致。
This commit is contained in:
@@ -63,9 +63,9 @@ export const DEFAULT_CLIENT_ID = 1;
|
||||
export const EnableStatus = {
|
||||
Enable: '0',
|
||||
Disable: '1',
|
||||
};
|
||||
} as const;
|
||||
|
||||
export const YesNo = {
|
||||
Yes: 'Y',
|
||||
No: 'N',
|
||||
};
|
||||
} as const;
|
||||
|
||||
Reference in New Issue
Block a user