From 29903fed59298f84f4de5071b13628771e6000c0 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Wed, 17 Nov 2021 13:52:12 +0800 Subject: [PATCH] =?UTF-8?q?fix=5F=E6=8E=A5=E5=8F=A3=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E8=B7=AF=E7=94=B1=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/business/components/api/head/ApiHeaderMenus.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/business/components/api/head/ApiHeaderMenus.vue b/frontend/src/business/components/api/head/ApiHeaderMenus.vue index 5b394d824d..79e40d6714 100644 --- a/frontend/src/business/components/api/head/ApiHeaderMenus.vue +++ b/frontend/src/business/components/api/head/ApiHeaderMenus.vue @@ -69,8 +69,11 @@ export default { '$route': { immediate: true, handler(to) { - let path = to.path.split("/", 3); + let path = to.path.split("/", 4); this.currentPath = '/' + path[1] + '/' + path[2]; + if (path[3] === "report") { + this.currentPath = this.currentPath + '/' + path[3]; + } } } },