feat: 操作日志添加登录枚举

This commit is contained in:
ZhuRui
2026-08-28 14:44:14 +08:00
parent 8c023e63ec
commit ce1a5e3f1f
@@ -24,6 +24,7 @@ export const ACTION_TYPE_OPTIONS = [
{ value: '3', label: '禁用用户' }, { value: '3', label: '禁用用户' },
{ value: '4', label: '启用用户' }, { value: '4', label: '启用用户' },
{ value: '7', label: '系统参数' }, { value: '7', label: '系统参数' },
{ value: '8', label: '用户登录' },
] as const; ] as const;
/** 操作类型文案映射 */ /** 操作类型文案映射 */
@@ -33,6 +34,7 @@ export const ACTION_TYPE_MAP: Record<number, string> = {
3: '禁用用户', 3: '禁用用户',
4: '启用用户', 4: '启用用户',
7: '系统参数', 7: '系统参数',
8: '用户登录',
}; };
// ============================================================ // ============================================================