File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
views/system-setting/authentication/component Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ const openResetPassword = () => {
188188
189189const logout = () => {
190190 login .logout ().then (() => {
191- router .push ({name: ' login' })
191+ router .push ({name: ' login' , query: {login_mode: ' manual ' } })
192192 })
193193}
194194
Original file line number Diff line number Diff line change 33 <el-scrollbar >
44 <div class =" form-container p-24" v-loading =" loading" >
55 <el-form ref =" authFormRef" :model =" form" label-position =" top"
6- require-asterisk-position =" right" >
6+ require-asterisk-position =" right" @submit.prevent >
77 <!-- 登录方式选择框 -->
88 <el-form-item
99 :label =" $t('views.system.default_login')"
@@ -110,7 +110,7 @@ onMounted(() => {
110110 authApi .getLoginSetting ().then ((res ) => {
111111 if (Object .keys (res .data ).length > 0 ) {
112112 form .value = res .data ;
113- loginMethods .value = res .data .auth_types
113+ loginMethods .value = res .data .auth_types
114114 }
115115 })
116116});
You can’t perform that action at this time.
0 commit comments