From fdd7f215f578d6bb18771c304cc825f94a84b5d5 Mon Sep 17 00:00:00 2001 From: DEV_DSW <562304744@qq.com> Date: Tue, 2 Jun 2026 10:42:41 +0800 Subject: [PATCH] refactor(DrawerSection): inline standalone MineSetting component delete the separate MineSetting component file and move all its template and logic directly into the parent DrawerSection component, maintaining existing functionality. --- .../components/MineSetting/index.vue | 87 ------------------- .../home/components/DrawerSection/index.vue | 86 ++++++++++++++++-- 2 files changed, 77 insertions(+), 96 deletions(-) delete mode 100644 src/pages/home/components/DrawerSection/components/MineSetting/index.vue diff --git a/src/pages/home/components/DrawerSection/components/MineSetting/index.vue b/src/pages/home/components/DrawerSection/components/MineSetting/index.vue deleted file mode 100644 index 1d9236a..0000000 --- a/src/pages/home/components/DrawerSection/components/MineSetting/index.vue +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - 账号 - {{ userInfo.phone }} - - - - - {{ item.label }} - - - - - 语言 - - - {{ lang.label }} - - - - - - - 退出登录 - - - - diff --git a/src/pages/home/components/DrawerSection/index.vue b/src/pages/home/components/DrawerSection/index.vue index b72d25e..7788b48 100644 --- a/src/pages/home/components/DrawerSection/index.vue +++ b/src/pages/home/components/DrawerSection/index.vue @@ -1,25 +1,57 @@ - - 设置 - - + + + + + 账号 + {{ userInfo.phone }} + - + + + {{ item.label }} + + + + + 语言 + + + {{ lang.label }} + + + + + + + 退出登录 +