From 80438c5e682e4a8a4c64bc2393ccb7ef1bb44b90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E8=99=B9=E7=9D=BF?= <297504645@qq.com> Date: Thu, 14 Sep 2023 10:37:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E4=B8=AD=E5=BF=83=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Code/Fe/src/router/index.js | 11 ++- Code/Fe/src/views/profileuser/index.vue | 32 +++++++ Code/Fe/src/views/profileuser/index_dy.vue | 106 +++++++++++++++++++++ Code/Fe/src/views/profileuser/resetPwd.vue | 100 +++++++++++++++++++ Code/Fe/src/views/profileuser/userInfo.vue | 52 ++++++++++ 5 files changed, 298 insertions(+), 3 deletions(-) create mode 100644 Code/Fe/src/views/profileuser/index.vue create mode 100644 Code/Fe/src/views/profileuser/index_dy.vue create mode 100644 Code/Fe/src/views/profileuser/resetPwd.vue create mode 100644 Code/Fe/src/views/profileuser/userInfo.vue diff --git a/Code/Fe/src/router/index.js b/Code/Fe/src/router/index.js index 1f5f797..41aee17 100644 --- a/Code/Fe/src/router/index.js +++ b/Code/Fe/src/router/index.js @@ -45,6 +45,11 @@ export let constantRoutes = [ component: () => import('@/views/redirect/index') }] }, + { + path: '*', + redirect: '/404', + hidden: true + }, { path: '/login', component: () => import('@/views/login/index'), @@ -102,12 +107,12 @@ export let constantRoutes = [ }] }, { - path: '/profileuser', + path: '/', component: Layout, - redirect: '/profileuser/index', + redirect: '/profileuser', hidden: true, children: [{ - path: 'index', + path: 'profileuser', component: () => import('@/views/profileuser/index'), name: 'Profileuser', meta: { diff --git a/Code/Fe/src/views/profileuser/index.vue b/Code/Fe/src/views/profileuser/index.vue new file mode 100644 index 0000000..17dfb7d --- /dev/null +++ b/Code/Fe/src/views/profileuser/index.vue @@ -0,0 +1,32 @@ + + + diff --git a/Code/Fe/src/views/profileuser/index_dy.vue b/Code/Fe/src/views/profileuser/index_dy.vue new file mode 100644 index 0000000..e92dee3 --- /dev/null +++ b/Code/Fe/src/views/profileuser/index_dy.vue @@ -0,0 +1,106 @@ + + + + diff --git a/Code/Fe/src/views/profileuser/resetPwd.vue b/Code/Fe/src/views/profileuser/resetPwd.vue new file mode 100644 index 0000000..19b4faf --- /dev/null +++ b/Code/Fe/src/views/profileuser/resetPwd.vue @@ -0,0 +1,100 @@ + + + + \ No newline at end of file diff --git a/Code/Fe/src/views/profileuser/userInfo.vue b/Code/Fe/src/views/profileuser/userInfo.vue new file mode 100644 index 0000000..13e2982 --- /dev/null +++ b/Code/Fe/src/views/profileuser/userInfo.vue @@ -0,0 +1,52 @@ + + + + \ No newline at end of file