From c619ccb2c3d6eaa56ae19c71c8b9af8755bfa19e Mon Sep 17 00:00:00 2001 From: Lvtf Date: Wed, 2 Aug 2023 15:03:14 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index.vue | 2 +- src/views/productsMsg/components/productInfo.vue | 3 ++- src/views/productsMsg/index.vue | 10 ++++------ 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index 7cefd7f..5f1fc67 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -47,7 +47,7 @@ export default { // )[0].children; // return staticRouter; // return this.$store.state.myselfPermission.routerList; - return this.$router.options.routes[5].children; + return this.$router.options.routes[5].children.slice(0, -1); }, }, created() {}, diff --git a/src/views/productsMsg/components/productInfo.vue b/src/views/productsMsg/components/productInfo.vue index e55ccbb..50a65f0 100644 --- a/src/views/productsMsg/components/productInfo.vue +++ b/src/views/productsMsg/components/productInfo.vue @@ -1,7 +1,8 @@