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

后台管理员修改密码时,无法修改 #52

Open
qinmaye opened this issue Oct 12, 2019 · 4 comments
Open

后台管理员修改密码时,无法修改 #52

qinmaye opened this issue Oct 12, 2019 · 4 comments

Comments

@qinmaye
Copy link

qinmaye commented Oct 12, 2019

WIFNX`KP)R{ Q5S8LJ2WC_L
在后台对用户密码进行修改时,无法修改

查看源代码发现在src/pages/views/general/User.vue第311行将password置空了,导致修改密码时无法修改

image

@virusdefender
Copy link
Contributor

这个是初始化,应该没问题吧,最近我还改过密码,具体表现是啥,可能还得看下开发者工具看下请求

@qinmaye
Copy link
Author

qinmaye commented Oct 12, 2019

这个是初始化,应该没问题吧,最近我还改过密码,具体表现是啥,可能还得看下开发者工具看下请求

image
输入密码的时候只触发这个钩子

如果是修改密码啥的是下图这样
image

@Fromnowon
Copy link
Contributor

遇到同样问题,注释掉这行就好了,虽然是初始化数据

LyricSeraph pushed a commit to LyricSeraph/OnlineJudgeFE that referenced this issue Jun 17, 2022
* Update README.md

* Create README.en.md

* Update README.en.md

* Update README.en.md

* Update README.md
@takkaO
Copy link

takkaO commented Oct 30, 2024

There was a problem with not being able to change the password from the admin screen, but I tried the suggested fix and it works fine. Thank you @qinmaye 👍

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

4 participants