This commit is contained in:
A1300399510
2023-07-20 19:27:46 +08:00
parent 8cc4549dca
commit d5c86e2038
12 changed files with 274 additions and 41 deletions

View File

@@ -98,6 +98,7 @@ const router = createRouter({
router.beforeEach((to, from, next) => {
<<<<<<< HEAD
//导航数据
if(/['seachPage','needHousing','intermediaryHousing','personHousing']/.test(from.path)){
store.state.routeList.secondaryIndex.title=from.meta.title
@@ -105,6 +106,9 @@ router.beforeEach((to, from, next) => {
}
//
=======
console.log(to, from);
>>>>>>> 542e853 (提交)
next()
let meta = to['meta'] || {}
let title = meta['title']