From b64199efacd57f88e665918e06f85792d733fa4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A6=86=E9=92=B1=E8=90=BD=E5=B0=BD=E6=A7=BF=E8=8A=B1?= =?UTF-8?q?=E7=A8=80?= <2675540038@qq.com> Date: Fri, 19 Apr 2024 11:40:53 +0800 Subject: [PATCH] 1 --- src/layouts/components/Header.vue | 6 +- src/pages/register/index.vue | 129 +++++-- src/pages/user/user_edit.vue | 555 ++++++++++++++++++++++++++++++ src/pages/user/user_index.vue | 5 +- src/pages/user/user_info.vue | 16 +- src/router/modules/components.ts | 6 + src/utils/request.ts | 1 - 7 files changed, 677 insertions(+), 41 deletions(-) create mode 100644 src/pages/user/user_edit.vue diff --git a/src/layouts/components/Header.vue b/src/layouts/components/Header.vue index 2686eb2..2b7185e 100644 --- a/src/layouts/components/Header.vue +++ b/src/layouts/components/Header.vue @@ -34,9 +34,9 @@ @@ -135,6 +146,7 @@ export default { visibleZz:false, visibleZm:false, visibleFm:false, + visiblePf:false, info:{}, member_id:0, } diff --git a/src/router/modules/components.ts b/src/router/modules/components.ts index e3bcfb7..6af007c 100644 --- a/src/router/modules/components.ts +++ b/src/router/modules/components.ts @@ -34,6 +34,12 @@ export default [ component: () => import('@/pages/user/user_info.vue'), meta: { title: '会员详情',hidden:true }, }, + { + path: 'user_edit', + name: 'userEdit', + component: () => import('@/pages/user/user_edit.vue'), + meta: { title: '会员编辑',hidden:true }, + }, ], }, { diff --git a/src/utils/request.ts b/src/utils/request.ts index ed0ea89..3715a32 100644 --- a/src/utils/request.ts +++ b/src/utils/request.ts @@ -21,7 +21,6 @@ instance.interceptors.retry = 3; instance.interceptors.request.use((config) => { // 在原有配置基础上添加新参数 - console.log(store.state.user.association); if(store.state.user.association){ if(typeof (store.state.user.association)=='object'){ var association=store.state.user.association;