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 @@