src/router/index.js
@@ -97,12 +97,7 @@ const router = createRouter() router.afterEach((to, from, next) => { if ( (to.path === "/overview/overviewList" || to.path === "/reportForm/inOutboundDetail" || to.path === "/productManage/productList") && to.params.name ) { 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