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

up-code #544

Open
houqingbin opened this issue Oct 30, 2024 · 1 comment
Open

up-code #544

houqingbin opened this issue Oct 30, 2024 · 1 comment

Comments

@houqingbin
Copy link

up-code组件在uniapp h5中使用:keepRunning="true"刷新后会丢失验证码倒计时
<up-code ref="uCodeRef" @change="codeChange" :seconds="seconds" :keepRunning="true"
uniqueKey="page-b" @start="start" :changeText="changeText">

"uview-plus": "^3.3.37",

@cps8
Copy link
Contributor

cps8 commented Oct 31, 2024

到code组件源码文件中 在setTimeToStorage内,把if(this.secNum > 0 && this.secNum < this.seconds)改成if(this.secNum > 0 && this.secNum <= this.seconds)

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

2 participants