From 119efc91fd3374131c31b8c5f8f5f7cb8f6731cf Mon Sep 17 00:00:00 2001
From: zuozhengqing <a13193816592@163.com>
Date: 星期五, 17 十一月 2023 09:34:59 +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..dffb3c5 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