Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法进行用户注册,返回错误信息, #37

Closed
1 task done
dfggggx198601 opened this issue Sep 23, 2023 · 3 comments
Closed
1 task done

无法进行用户注册,返回错误信息, #37

dfggggx198601 opened this issue Sep 23, 2023 · 3 comments

Comments

@dfggggx198601
Copy link

⚠️ 确认 issue 是否已存在 ⚠️

  • 我已经搜索了现有的问题,没有找到跟我问题相关的问题。

GPT-3 or GPT-4

GPT-3.5

操作系统

Windows

Bug 描述 📝

image
请看图,在admin面板中可以增加用户,用户自行注册就不行了

重现步骤 🕹

No response

你的应用配置信息

把你的配置信息粘贴到这里
@jy00566722
Copy link

jy00566722 commented Sep 24, 2023

临时解决方案:在web/src/views/Register.vue中:
const formData = ref({ mobile: '', password: '', code: '', repass: '', })

把code:'',改为code:0,
因为如果为空的话,后端转为结构体时出错,直接返回错误。

@dfggggx198601
Copy link
Author

非常感谢,我开始怎么也想不到是改这里,以为是改api下面的相关代码

@yangjian102621
Copy link
Owner

这个 Bug 将在 v3.1.4 版本中修复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants