feat: update login redirection and form submission handling
parent
47d4bce84f
commit
3b2c337e36
|
|
@ -188,7 +188,7 @@ const openResetPassword = () => {
|
|||
|
||||
const logout = () => {
|
||||
login.logout().then(() => {
|
||||
router.push({name: 'login'})
|
||||
router.push({name: 'login', query: {login_mode: 'manual'}})
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<el-scrollbar>
|
||||
<div class="form-container p-24" v-loading="loading">
|
||||
<el-form ref="authFormRef" :model="form" label-position="top"
|
||||
require-asterisk-position="right">
|
||||
require-asterisk-position="right" @submit.prevent>
|
||||
<!-- 登录方式选择框 -->
|
||||
<el-form-item
|
||||
:label="$t('views.system.default_login')"
|
||||
|
|
|
|||
Loading…
Reference in New Issue