From 2ca2b766f896bec4121f641019e610abc517b98c Mon Sep 17 00:00:00 2001 From: Soybean Date: Sat, 10 Jun 2023 12:05:57 +0800 Subject: [PATCH] fix(projects): fix userRoleOptions --- src/constants/business.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants/business.ts b/src/constants/business.ts index c841207d..9f395c24 100644 --- a/src/constants/business.ts +++ b/src/constants/business.ts @@ -13,7 +13,7 @@ export const userRoleLabels: Record = { admin: '管理员', user: '普通用户' }; -export const userRoleOptions = transformObjectToOption(loginModuleLabels); +export const userRoleOptions = transformObjectToOption(userRoleLabels); /** 用户性别 */ export const genderLabels: Record = {