feat: 登录后直接跳转到视频生成页面

This commit is contained in:
yys 2026-04-10 14:30:56 +08:00
parent dbc292b058
commit a67a8e202a
2 changed files with 2 additions and 1 deletions

View File

@ -181,6 +181,7 @@ export default {
})
this.username = ""
this.password = ""
this.$router.replace({ name: 'video-gen' })
this.$emit('cancel')
})
} else {

View File

@ -47,7 +47,7 @@ export const constantRoutes = [{
path: '/',
component: Layout,
redirect: {
name: 'index'
name: 'video-gen'
},
children: [{
path: 'index',