mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-03-09 16:21:10 +08:00
【修复】设置刷新跳转登陆问题
【修复】部分参数描述问题
This commit is contained in:
@@ -102,7 +102,7 @@ export default defineComponent({
|
||||
},
|
||||
}}
|
||||
>
|
||||
{$t('SMTP端口禁止修改')}
|
||||
{$t('t_0_1747280814475')}
|
||||
</NTooltip>
|
||||
</NFormItemGi>
|
||||
</NGrid>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { FormInst, FormItemRule, FormRules } from 'naive-ui'
|
||||
import md5 from 'crypto-js/md5'
|
||||
import { useFormHooks, useModal, useDialog, useForm, useMessage, useLoadingMask } from '@baota/naive-ui/hooks'
|
||||
import { clearCookie, clearLocal, clearSession } from '@baota/utils/browser'
|
||||
import { useError } from '@baota/hooks/error'
|
||||
import { $t } from '@locales/index'
|
||||
import { useStore } from './useStore'
|
||||
@@ -91,7 +92,11 @@ export const useController = () => {
|
||||
...params,
|
||||
password: params.password !== '' ? encryptPassword(params.password) : '',
|
||||
})
|
||||
// window.location.reload()
|
||||
setTimeout(() => {
|
||||
clearCookie()
|
||||
clearSession()
|
||||
window.location.href = `${params.secure}`
|
||||
}, 2000)
|
||||
} catch (error) {
|
||||
handleError(error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user