mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-28 12:46:36 +08:00
perf:改为返回的是token对象
This commit is contained in:
@@ -322,7 +322,7 @@ const handleGiteeLogin = () => {
|
||||
window.addEventListener("message", async (e) => {
|
||||
const { authData, type } = e.data;
|
||||
if (authData) {
|
||||
await loginSuccess({ data: { token: authData } });
|
||||
await loginSuccess({ data: authData });
|
||||
window.close();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user