From bb6ca60d634fa9b844583feb4a37bb7f984ab132 Mon Sep 17 00:00:00 2001 From: zzq <a13193816592@163.com> Date: 星期四, 28 九月 2023 15:18:51 +0800 Subject: [PATCH] "报表路由跳转,api调用" --- src/router/index.js | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 0802d27..8dc1323 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -109,11 +109,12 @@ const router = createRouter() router.afterEach((to, from, next) => { + console.log(to,"to") if ((to.path === "/overview/overviewList" || to.path === "/productManage/productList") && to.params.name) { console.log(from, next) to.meta.title = to.params.name document.title = to.meta.title - } else if (to.name === "inOutboundDetail") { + } else if (to.name === "inboundOutboundDetail") { to.meta.title = to.params.name + "/鍑哄叆搴撴槑缁�" document.title = to.meta.title } -- Gitblit v1.8.0