From 6d19560863f7cb0f648be1c3c74c92e10e1bb741 Mon Sep 17 00:00:00 2001
From: dap <15891557205@163.com>
Date: Mon, 2 Sep 2024 15:13:17 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E4=B8=AA=E4=BA=BA=E4=B8=AD=E5=BF=83(?=
=?UTF-8?q?=E5=9F=BA=E7=A1=80=E6=A1=86=E6=9E=B6)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
apps/web-antd/src/layouts/basic.vue | 11 +-
apps/web-antd/src/router/access.ts | 69 +-----------
apps/web-antd/src/router/routes/local.ts | 102 ++++++++++++++++++
.../src/views/_core/profile/index.vue | 36 +++++++
packages/icons/src/iconify/index.ts | 2 +
packages/locales/src/langs/en-US.json | 1 +
packages/locales/src/langs/zh-CN.json | 1 +
7 files changed, 154 insertions(+), 68 deletions(-)
create mode 100644 apps/web-antd/src/router/routes/local.ts
create mode 100644 apps/web-antd/src/views/_core/profile/index.vue
diff --git a/apps/web-antd/src/layouts/basic.vue b/apps/web-antd/src/layouts/basic.vue
index e5f8c159..f7849000 100644
--- a/apps/web-antd/src/layouts/basic.vue
+++ b/apps/web-antd/src/layouts/basic.vue
@@ -1,9 +1,10 @@
+
+
+
+ {
+ currentActiveKey = key;
+ }
+ "
+ >
+ dsadsa
+
+
+
diff --git a/packages/icons/src/iconify/index.ts b/packages/icons/src/iconify/index.ts
index a01541cd..ca80feb6 100644
--- a/packages/icons/src/iconify/index.ts
+++ b/packages/icons/src/iconify/index.ts
@@ -21,3 +21,5 @@ export const CommandLineIcon = createIconifyIcon(
export const MemoryIcon = createIconifyIcon('la:memory');
export const GiteeIcon = createIconifyIcon('simple-icons:gitee');
+// 个人中心
+export const ProfileIcon = createIconifyIcon('mingcute:profile-line');
diff --git a/packages/locales/src/langs/en-US.json b/packages/locales/src/langs/en-US.json
index b8408644..80fe320f 100644
--- a/packages/locales/src/langs/en-US.json
+++ b/packages/locales/src/langs/en-US.json
@@ -61,6 +61,7 @@
},
"widgets": {
"document": "Document",
+ "profile": "Profile",
"qa": "Q&A",
"setting": "Settings",
"logoutTip": "Do you want to logout?",
diff --git a/packages/locales/src/langs/zh-CN.json b/packages/locales/src/langs/zh-CN.json
index 46ceb599..ca9bbfbd 100644
--- a/packages/locales/src/langs/zh-CN.json
+++ b/packages/locales/src/langs/zh-CN.json
@@ -61,6 +61,7 @@
},
"widgets": {
"document": "文档",
+ "profile": "个人中心",
"qa": "问题 & 帮助",
"setting": "设置",
"logoutTip": "是否退出登录?",