a1300399510@qq.com 提交于 2023/03/30 -12:20:01

This commit is contained in:
2023-03-30 12:20:10 +08:00
parent 02078d3212
commit 2d74c02b87
7 changed files with 83 additions and 19 deletions

View File

@@ -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: "我的寄托"
}
},
]
}
]