From fab126ddfdfc78ed5da7acd2f8c68979bf4e4fd3 Mon Sep 17 00:00:00 2001 From: Xwen <929716663@qq.com> Date: Tue, 9 Jan 2024 23:32:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Yi.Bbs.Vue3/src/views/Auth/index.vue | 1 + Yi.Bbs.Vue3/src/views/profile/AccountSetting.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/Yi.Bbs.Vue3/src/views/Auth/index.vue b/Yi.Bbs.Vue3/src/views/Auth/index.vue index 262df51c..82292cd6 100644 --- a/Yi.Bbs.Vue3/src/views/Auth/index.vue +++ b/Yi.Bbs.Vue3/src/views/Auth/index.vue @@ -42,6 +42,7 @@ watch( authData: JSON.stringify(authData.value), type: scheme.value, }); + console.log(authData.value, "我是打开的窗口页"); message.value = "授权成功"; } }, diff --git a/Yi.Bbs.Vue3/src/views/profile/AccountSetting.vue b/Yi.Bbs.Vue3/src/views/profile/AccountSetting.vue index 9df12c2d..8653e3aa 100644 --- a/Yi.Bbs.Vue3/src/views/profile/AccountSetting.vue +++ b/Yi.Bbs.Vue3/src/views/profile/AccountSetting.vue @@ -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");