From 6642f97231f6ca9a336b8a942857db4d65e68130 Mon Sep 17 00:00:00 2001 From: Xwen <929716663@qq.com> Date: Mon, 8 Jan 2024 23:52:36 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Yi.Bbs.Vue3/src/views/Auth/index.vue b/Yi.Bbs.Vue3/src/views/Auth/index.vue index 4bf92b2d..77923230 100644 --- a/Yi.Bbs.Vue3/src/views/Auth/index.vue +++ b/Yi.Bbs.Vue3/src/views/Auth/index.vue @@ -22,9 +22,9 @@ watch( const result = regex.exec(route.fullPath); const authParam = result != null ? result[1].toUpperCase() : null; console.log(type.value, "类型"); - if (type.value === 0) { + if (type.value === "0") { const res = await authOtherLogin({ code: val }, authParam); - } else if (type.value === 1) { + } else if (type.value === "1") { const res = await authOtherBind({ code: val }, authParam); } message.value = "授权成功";