From 30c09eec470138960fb3958c05df4144a7b4e888 Mon Sep 17 00:00:00 2001 From: Xwen <929716663@qq.com> Date: Mon, 8 Jan 2024 23:31:24 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Yi.Bbs.Vue3/src/views/Auth/index.vue b/Yi.Bbs.Vue3/src/views/Auth/index.vue index dffc086c..4bf92b2d 100644 --- a/Yi.Bbs.Vue3/src/views/Auth/index.vue +++ b/Yi.Bbs.Vue3/src/views/Auth/index.vue @@ -17,11 +17,11 @@ watch( () => code.value, async (val) => { if (val) { - console.log("val", val); // 使用正则表达式提取路由参数 const regex = /\/auth\/([\w-]+)[?]?/; const result = regex.exec(route.fullPath); const authParam = result != null ? result[1].toUpperCase() : null; + console.log(type.value, "类型"); if (type.value === 0) { const res = await authOtherLogin({ code: val }, authParam); } else if (type.value === 1) {