fix(router): explore and search requires $i
This commit is contained in:
parent
a6bb7eba1e
commit
6022b924f5
1 changed files with 2 additions and 0 deletions
|
@ -231,6 +231,7 @@ const routes: RouteDef[] = [{
|
||||||
path: '/explore',
|
path: '/explore',
|
||||||
component: page(() => import('@/pages/explore.vue')),
|
component: page(() => import('@/pages/explore.vue')),
|
||||||
hash: 'initialTab',
|
hash: 'initialTab',
|
||||||
|
loginRequired: true,
|
||||||
}, {
|
}, {
|
||||||
path: '/search',
|
path: '/search',
|
||||||
component: page(() => import('@/pages/search.vue')),
|
component: page(() => import('@/pages/search.vue')),
|
||||||
|
@ -240,6 +241,7 @@ const routes: RouteDef[] = [{
|
||||||
type: 'type',
|
type: 'type',
|
||||||
origin: 'origin',
|
origin: 'origin',
|
||||||
},
|
},
|
||||||
|
loginRequired: true,
|
||||||
}, {
|
}, {
|
||||||
path: '/authorize-follow',
|
path: '/authorize-follow',
|
||||||
component: page(() => import('@/pages/follow.vue')),
|
component: page(() => import('@/pages/follow.vue')),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue