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 {