feat(oss-config): 添加YesNo常量并优化OSS配置表单

在constants/core.ts中添加YesNo常量
移除oss-config表单中多余的formItemClass属性
将TableSwitch替换为ApiSwitch并实现状态切换功能
This commit is contained in:
dap
2026-01-15 10:14:16 +08:00
parent 884c4f39fd
commit fbd5b64345
3 changed files with 17 additions and 6 deletions

View File

@@ -59,3 +59,8 @@ export const EnableStatus = {
Enable: '0',
Disable: '1',
};
export const YesNo = {
Yes: 'Y',
No: 'N',
};