From af06df267a4a0691e0dd3a2f9714fb8c6b9ee745 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, 20 Jul 2023 09:30:25 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=A0=91=E7=8A=B6=E5=BD=A2?= =?UTF-8?q?=E5=BC=8F=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/layout/components/Sidebar/index.vue | 3 - PC/InterFace.Dash/src/permission.js | 1 - PC/InterFace.Dash/src/router/index.js | 1 - .../src/views/dashboard/index copy.vue | 222 +++++++++++++++ .../src/views/dashboard/index.vue | 267 ++++-------------- 5 files changed, 275 insertions(+), 219 deletions(-) create mode 100644 PC/InterFace.Dash/src/views/dashboard/index copy.vue diff --git a/PC/InterFace.Dash/src/layout/components/Sidebar/index.vue b/PC/InterFace.Dash/src/layout/components/Sidebar/index.vue index 20140e0..e33aa38 100644 --- a/PC/InterFace.Dash/src/layout/components/Sidebar/index.vue +++ b/PC/InterFace.Dash/src/layout/components/Sidebar/index.vue @@ -49,9 +49,6 @@ export default { isCollapse() { return !this.sidebar.opened } - }, - mounted(){ - console.log(54,this.permission_routes) } } diff --git a/PC/InterFace.Dash/src/permission.js b/PC/InterFace.Dash/src/permission.js index 57ff2dc..33c5468 100644 --- a/PC/InterFace.Dash/src/permission.js +++ b/PC/InterFace.Dash/src/permission.js @@ -48,7 +48,6 @@ router.beforeEach(async (to, from, next) => { next() }else{ const accessRoutes = await store.dispatch('permission/getApiColumnsNames') - console.log(accessRoutes) router.addRoutes(accessRoutes) next({ ...to, diff --git a/PC/InterFace.Dash/src/router/index.js b/PC/InterFace.Dash/src/router/index.js index 0a35e17..04dc6d3 100644 --- a/PC/InterFace.Dash/src/router/index.js +++ b/PC/InterFace.Dash/src/router/index.js @@ -98,7 +98,6 @@ export let constantRoutes = [ }] }, ] -console.log(11111) /** * asyncRoutes diff --git a/PC/InterFace.Dash/src/views/dashboard/index copy.vue b/PC/InterFace.Dash/src/views/dashboard/index copy.vue new file mode 100644 index 0000000..cf7251a --- /dev/null +++ b/PC/InterFace.Dash/src/views/dashboard/index copy.vue @@ -0,0 +1,222 @@ + + + + \ No newline at end of file diff --git a/PC/InterFace.Dash/src/views/dashboard/index.vue b/PC/InterFace.Dash/src/views/dashboard/index.vue index 7e08962..a099f66 100644 --- a/PC/InterFace.Dash/src/views/dashboard/index.vue +++ b/PC/InterFace.Dash/src/views/dashboard/index.vue @@ -1,221 +1,60 @@ +
+ +
+ - - \ No newline at end of file +} + + \ No newline at end of file