diff --git a/packages/admin/src/l10n/en/base.ts b/packages/admin/src/l10n/en/base.ts index be8a5169d..43acf9424 100644 --- a/packages/admin/src/l10n/en/base.ts +++ b/packages/admin/src/l10n/en/base.ts @@ -49,6 +49,7 @@ export const base = { StepsForm: 'Steps Form', Button: 'Button', + Link: 'Link', Tabs: 'Tabs', Tag: 'Tag', Rate: 'Rate', diff --git a/packages/admin/src/l10n/zh/base.ts b/packages/admin/src/l10n/zh/base.ts index dd3a188e8..04df984e3 100644 --- a/packages/admin/src/l10n/zh/base.ts +++ b/packages/admin/src/l10n/zh/base.ts @@ -50,6 +50,7 @@ export const base = { StepsForm: '分步表单', Button: 'Button 按钮', + Link: 'Link 文字链接', Tabs: 'Tabs 选项卡', Rate: 'Rate 评分', Tag: 'Tag 标签', diff --git a/packages/admin/src/nav-tree.ts b/packages/admin/src/nav-tree.ts index bc462aab3..51365216b 100644 --- a/packages/admin/src/nav-tree.ts +++ b/packages/admin/src/nav-tree.ts @@ -236,6 +236,7 @@ export function genNavTree(localeMap, locale) { 'card', 'slider', 'loading', + 'link', 'toast', 'toggle-icon', 'tag', diff --git a/packages/admin/src/router.ts b/packages/admin/src/router.ts index 0595f3dee..a080b31d8 100644 --- a/packages/admin/src/router.ts +++ b/packages/admin/src/router.ts @@ -10,6 +10,7 @@ const components = [ 'tabs', 'slider', 'loading', + 'link', 'toast', 'toggle-icon', 'card',