a1300399510@qq.com 提交于 2023/03/30 -12:20:01
This commit is contained in:
@@ -18,6 +18,8 @@ const Collect = () => import('views/index/collect/Collect')
|
||||
const AllSections = () => import('views/index/allSections/AllSections')
|
||||
const search = () => import('views/search/search')
|
||||
const SearchResult = () => import('views/search/searchResult/SearchResult')
|
||||
const user = () => import('views/user/user')
|
||||
const userIndex = () => import('views/user/UserIndex')
|
||||
|
||||
const routes = [
|
||||
{
|
||||
@@ -68,6 +70,21 @@ const routes = [
|
||||
}
|
||||
},
|
||||
]
|
||||
}, {
|
||||
path: '/user', // 搜索结果
|
||||
name: 'user',
|
||||
redirect: "/userIndex",
|
||||
component: user,
|
||||
children: [
|
||||
{
|
||||
path: '/userIndex',
|
||||
name: 'userIndex',
|
||||
component: userIndex,
|
||||
meta: {
|
||||
title: "我的寄托"
|
||||
}
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user