From db036e639065504d953706db84b979e1addceaeb Mon Sep 17 00:00:00 2001 From: chensiAb <chenchenco03@163.com> Date: Thu, 07 Nov 2024 14:28:39 +0800 Subject: [PATCH] feat:inputPhoneCode组件添加重置显示按钮的方法 --- forms/input/CInputPhoneCode.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/forms/input/CInputPhoneCode.vue b/forms/input/CInputPhoneCode.vue index 1b8f386..59d9105 100644 --- a/forms/input/CInputPhoneCode.vue +++ b/forms/input/CInputPhoneCode.vue @@ -50,7 +50,7 @@ }, // 发送请求,通知后端给手机发验证码 onCallPhoneCode: Function, - // 刷新cd 重新刷新回60秒通知父组件更新图片地址 + // 刷新cd后,通知父组件更新图片地址 onRefreshCD: { type: Function, default: () => () => null, @@ -97,6 +97,10 @@ }); } }, + // 重置holding + $resetHolding() { + this.holding = false; + }, }, }; </script> \ No newline at end of file -- Gitblit v1.9.1