跳转改为打开新页面
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user