跳转改为打开新页面

This commit is contained in:
2023-08-03 16:08:58 +08:00
parent 3900d5cc49
commit 56fa9e96d1
6 changed files with 47 additions and 26 deletions

View File

@@ -120,11 +120,6 @@ const router = createRouter({
router.beforeEach((to, from, next) => {
//导航数据
if (/['needHousing','intermediaryHousing','personHousing']/.test(from.path)) {
store.state.routeList.secondaryIndex.title = from.meta.title
store.state.routeList.secondaryIndex.path = from.meta.path
}
next()
let meta = to['meta'] || {}
let title = meta['title']