yangfeng
2023-09-15 36fb84a1ec003eb97502d8cc6f56bca67e1502a0
src/router/index.js
@@ -97,7 +97,7 @@
const router = createRouter()
router.afterEach((to, from, next) => {
  if (to.path === "/overview/overviewList" && to.query.name) {
  if ((to.path === "/overview/overviewList" || to.path === "/reportForm/inOutboundDetail") && to.query.name) {
    console.log(from, next)
    to.meta.title = to.query.name
    document.title = to.meta.title