提交 59255731 authored 作者: 祁增奎's avatar 祁增奎

防止重复发送验证码

上级 15e8990e
......@@ -34,6 +34,5 @@ const like = 'sample';
## Additional information
TODO: Tell users more about the package: where to find more information, how to
contribute to the package, how to file issues, what response they can expect
from the package authors, and more.
### 1.0.1
- 增加拦截,防止直接粘贴提示文案导致触发多次输入变化
......@@ -75,6 +75,10 @@ class CLXCodeManageLogic extends GetxController {
/// 校验验证码
_verifyCodeInput() async {
/// 处理多次发送校验间隔问题
if (refreshPage.value == codeInoutCtrl.text) {
return;
}
handleTipInfo();
update();
refreshPage.value = codeInoutCtrl.text;
......
name: clx_verification_code
description: "A new Flutter package project."
version: 1.0.0
version: 1.0.1
homepage:
environment:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论