udpate
This commit is contained in:
@@ -19,7 +19,11 @@ export const redirectHome = () => {
|
||||
const href = decodeURIComponent(redirect);
|
||||
window.open(href, '_self');
|
||||
}
|
||||
// 从url上清除 code 参数, 清除 state 参数
|
||||
emit({ type: 'login-success', data: {} });
|
||||
setTimeout(() => {
|
||||
clearCode();
|
||||
}, 1500);
|
||||
}
|
||||
export const loginHandle = async (opts: LoginOpts) => {
|
||||
const { loginMethod, data, el } = opts
|
||||
|
||||
Reference in New Issue
Block a user