yangfeng
2023-09-21 8d0ee0a2c32c7a99afc01b0a0c795d708a9b7955
src/router/index.js
@@ -101,10 +101,10 @@
    (to.path === "/overview/overviewList" ||
      to.path === "/reportForm/inOutboundDetail" ||
      to.path === "/productManage/productList") &&
    to.query.name
    to.params.name
  ) {
    console.log(from, next)
    to.meta.title = to.query.name
    to.meta.title = to.params.name
    document.title = to.meta.title
  }
})