feat: 登录后直接跳转到视频生成页面
This commit is contained in:
parent
dbc292b058
commit
a67a8e202a
|
|
@ -181,6 +181,7 @@ export default {
|
|||
})
|
||||
this.username = ""
|
||||
this.password = ""
|
||||
this.$router.replace({ name: 'video-gen' })
|
||||
this.$emit('cancel')
|
||||
})
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ export const constantRoutes = [{
|
|||
path: '/',
|
||||
component: Layout,
|
||||
redirect: {
|
||||
name: 'index'
|
||||
name: 'video-gen'
|
||||
},
|
||||
children: [{
|
||||
path: 'index',
|
||||
|
|
|
|||
Loading…
Reference in New Issue