feat:测试

This commit is contained in:
Xwen
2024-01-09 23:32:54 +08:00
parent ad7c851fdc
commit fab126ddfd
2 changed files with 2 additions and 0 deletions

View File

@@ -42,6 +42,7 @@ watch(
authData: JSON.stringify(authData.value),
type: scheme.value,
});
console.log(authData.value, "我是打开的窗口页");
message.value = "授权成功";
}
},

View File

@@ -131,6 +131,7 @@ const handleGiteeLogin = () => {
};
window.addEventListener("message", async (e) => {
console.log(e, "我是账号设置页");
const { authData, type } = e.data;
if (e.data) {
console.log(authData, type, "2333");