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

【BUG】自动锁屏输入9999999无法解锁 #7250

Closed
JaneYork opened this issue Sep 20, 2024 · 2 comments
Closed

【BUG】自动锁屏输入9999999无法解锁 #7250

JaneYork opened this issue Sep 20, 2024 · 2 comments

Comments

@JaneYork
Copy link

JaneYork commented Sep 20, 2024

版本号:3.7.1
问题描述:

没点击锁屏,没设置密码,当自动锁屏直接输入999999然后自动就锁住了,且再次登录还是锁住,清理浏览器缓存无效

错误截图:
image

友情提示:

  • 未按格式要求发帖、描述过于简单的,会被直接删掉;
  • 描述问题请图文并茂,方便我们理解并快速定位问题;
  • 如果使用的不是master,请说明你使用的分支;
@zhangdaiscott
Copy link
Member

zy

@liaozhiyang
Copy link

已解决,下一版本发布。

你本地可按如下修复:

src/utils/cache/persistent.ts
image

src/layouts/default/setting/components/InputNumberItem.vue :
image

1.输入需要做限制,setTimeout最大支持2^31-1,超过这个就会立马执行,所以当你输入999999时就会立马锁屏。
2.再次登录还是锁屏,是因为有些localStorage没被清除。

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