feat(quick-entry): 工作台快捷入口新增「三方平台登录」(默认隐藏 + 中英i18n)

This commit is contained in:
DaxPay Dev
2026-07-09 10:06:48 +08:00
parent 95d9a90456
commit 089e697801
3 changed files with 12 additions and 0 deletions

View File

@@ -62,6 +62,7 @@
"onlineUser": "Online Users",
"analytics": "Analytics",
"developTrade": "Payment Develop",
"socialLogin": "Third-party Platform Login",
"empty": "No accessible quick entries",
"edit": "Edit",
"editTitle": "Edit Quick Entry",

View File

@@ -62,6 +62,7 @@
"onlineUser": "在线用户",
"analytics": "分析页",
"developTrade": "支付调试",
"socialLogin": "三方平台登录",
"empty": "暂无可访问的快捷入口",
"edit": "编辑",
"editTitle": "编辑快捷入口",

View File

@@ -231,6 +231,16 @@ export const ENTRY_CATALOG: QuickEntryMeta[] = [
defaultVisible: false,
defaultOrder: 20,
},
{
key: 'socialLogin',
routeName: '/system/config/social',
icon: 'lucide:share-2',
titleKey: 'dashboard.workspace.quickEntry.socialLogin',
color: 'bg-fuchsia-500',
perms: [PermCodes.Iam.Social.VIEW],
defaultVisible: false,
defaultOrder: 21,
},
];
/** 默认序列defaultVisible=true 的按 defaultOrder 升序 */