From 3a94fefb02746237a8d7271e8f59b1a4261bf61e Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期一, 13 十一月 2023 18:19:49 +0800 Subject: [PATCH] 重订货点击空白显示对象问题 位置模块编辑查看的时候点击当前库存跳转到位置报表并且把当前位置商品列出来 --- src/router/index.js | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 0802d27..013fdc1 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -109,13 +109,14 @@ 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") { - to.meta.title = to.params.name + "/鍑哄叆搴撴槑缁�" - document.title = to.meta.title + // document.title = to.meta.title + } else if (to.name === "inboundOutboundDetail") { + to.meta.title = "鍑哄叆搴撴槑缁�" + // document.title = to.meta.title } }) // router.beforeEach((to, from, next) => { -- Gitblit v1.8.0