Closed wenlongFam closed 1 year ago
我没有找到 设置标题的代码或页面在哪里。
解决了: permission.js `import i18n from "@/lang" //导入国际化文件
router.beforeEach(async(to, from, next) => { // start progress bar NProgress.start()
// set page title
document.title = getPageTitle(i18n.t(route.${to.meta.title}
)) //标题国际化`
Question(提问)
Steps to reproduce(问题复现步骤)
Screenshot or Gif(截图或动态图)
Link to minimal reproduction(最小可在线还原demo)
Other relevant information(格外信息)