diff --git a/vue/src/router/index.js b/vue/src/router/index.js index 7b2717e..4933072 100644 --- a/vue/src/router/index.js +++ b/vue/src/router/index.js @@ -18,31 +18,32 @@ const routes = [ { path: '/menu', name: 'Menu', - component: () => import('@/views/Menu.vue'), + component: () => import('@/views/home/Menu.vue'), redirect: '/home', children: [ { path: '/home', name: 'Home', - component: () => import('@/views/Home.vue'), + component: () => import('@/views/home/Home.vue'), }, { path:'/adminmanage', name: 'AdminManage', - component: () => import('@/views/AdminManage.vue'), + component: () => import('@/views/home/AdminManage.vue'), }, ] }, { path: '/manage', name: 'Manage', - component: () => import('@/views/Manage.vue'), + component: () => import('@/views/backstage/Manage.vue'), children: [ { path: '/userapproval', name: 'UserApproval', - component: () => import('@/views/UserApproval.vue') + component: () => import('@/views/backstage/UserApproval.vue') }, + ] }, ]; diff --git a/vue/src/views/Manage.vue b/vue/src/views/Manage.vue deleted file mode 100644 index a933fd4..0000000 --- a/vue/src/views/Manage.vue +++ /dev/null @@ -1,104 +0,0 @@ - - - - - \ No newline at end of file diff --git a/vue/src/views/UserApproval.vue b/vue/src/views/UserApproval.vue deleted file mode 100644 index 7f28530..0000000 --- a/vue/src/views/UserApproval.vue +++ /dev/null @@ -1,55 +0,0 @@ - - - - - \ No newline at end of file diff --git a/vue/src/views/AdminManage.vue b/vue/src/views/home/AdminManage.vue similarity index 100% rename from vue/src/views/AdminManage.vue rename to vue/src/views/home/AdminManage.vue diff --git a/vue/src/views/Home.vue b/vue/src/views/home/Home.vue similarity index 100% rename from vue/src/views/Home.vue rename to vue/src/views/home/Home.vue diff --git a/vue/src/views/Menu.vue b/vue/src/views/home/Menu.vue similarity index 100% rename from vue/src/views/Menu.vue rename to vue/src/views/home/Menu.vue