From af9ae0806cdce3935d8c5ec9f4e4f085587353b6 Mon Sep 17 00:00:00 2001 From: zuozhengqing <a13193816592@163.com> Date: 星期四, 30 十一月 2023 11:18:03 +0800 Subject: [PATCH] edit:修改出入库明细单打印,canvas的裁切宽度 --- 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