Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
live
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a6acb406
authored
Sep 23, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
路由跳转
1 parent
f5fc7de8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
5 deletions
src/router/routes.js
src/views/liveList/jumpLive.vue
src/router/routes.js
View file @
a6acb40
const
staticRoutes
=
Object
.
freeze
([{
const
staticRoutes
=
Object
.
freeze
([
{
name
:
'default'
,
path
:
'/'
,
redirect
:
{
name
:
'liveList'
}
...
...
@@ -10,10 +11,10 @@ const staticRoutes = Object.freeze([{
meta
:
{}
},
{
name
:
'
zoneList
'
,
path
:
'/
zoneList/index
'
,
component
:
resolve
=>
require
([
`@/views/
zoneList/index
.vue`
],
resolve
),
name
:
'
jumpLive
'
,
path
:
'/
liveList/jumpLive
'
,
component
:
resolve
=>
require
([
`@/views/
liveList/jumpLive
.vue`
],
resolve
),
meta
:
{}
}
])
export
default
staticRoutes
\ No newline at end of file
export
default
staticRoutes
src/views/liveList/jumpLive.vue
0 → 100644
View file @
a6acb40
<
template
>
<div></div>
</
template
>
<
script
>
export
default
{
name
:
'jumpLive'
,
data
()
{
return
{
}
},
mounted
()
{
this
.
$router
.
push
({
path
:
'/liveList/index'
})
},
methods
:
{
},
}
</
script
>
<
style
lang=
"scss"
scoped
>
</
style
>
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment