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