From 586775c8ff111857457fba19a0f55cd9b8736cc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=B7=B3?= <454313500@qq.com> Date: Mon, 8 Apr 2024 14:23:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=B3=A8=E5=86=8C?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E8=B7=B3=E8=BD=AC=E5=88=B0=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Yi.Bbs.Vue3/src/hooks/useAuths.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Yi.Bbs.Vue3/src/hooks/useAuths.js b/Yi.Bbs.Vue3/src/hooks/useAuths.js index 8b03190a..8d4eab76 100644 --- a/Yi.Bbs.Vue3/src/hooks/useAuths.js +++ b/Yi.Bbs.Vue3/src/hooks/useAuths.js @@ -171,15 +171,15 @@ const currentUserInfo=computed(()=>{ // 注册 const registerFun = async (params) => { - try { + // try { await userRegister(params); ElMessage({ message: `恭喜!${params.userName},注册成功!请登录!`, type: "success", }); - } catch (error) { - console.log(error); - } + // } catch (error) { + // console.log(error); + // } }; return {