新增枚举类型

master
LiuJiaNan 2025-10-28 14:21:38 +08:00
parent f02786b56d
commit 4a658573bb
1 changed files with 15 additions and 0 deletions

15
enum/dictionary/index.js Normal file
View File

@ -0,0 +1,15 @@
/**
* 是否类型枚举
*/
export const RADIO_WHETHER_ENUM = [
{ id: "1", name: "是" },
{ id: "0", name: "否" },
];
/**
* 有无类型枚举
*/
export const RADIO_PRESENCE_OR_ABSENCE_ENUM = [
{ id: "1", name: "有" },
{ id: "0", name: "无" },
];