From b82019ffead8666dd2167c81b97f18d390b0cba5 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期一, 23 十月 2023 12:17:56 +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