From 1bd2c493c9cbe47d10e4ba045d5c4635fd4eccef Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Mon, 29 Mar 2021 11:17:01 +0800
Subject: [PATCH] 批量增加中文注释

---
 forms/input/CInputPhoneCode.vue |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/forms/input/CInputPhoneCode.vue b/forms/input/CInputPhoneCode.vue
index 9f00532..d089588 100644
--- a/forms/input/CInputPhoneCode.vue
+++ b/forms/input/CInputPhoneCode.vue
@@ -1,5 +1,5 @@
 /**
- * CInputPhoneCode
+ * CInputPhoneCode - 表单项,手机验证码输入框
  * @author Tevin
  */
 
@@ -37,9 +37,18 @@
         AtButton,
     },
     props: {
-        placeholder: String,
+        // 表单数据资源(表单组件内部机制专用)
         itemRes: Object,
-        autoStart: { type: Boolean, default: true },
+        // 占位提示
+        placeholder: String,
+        // 验证码计时器开始方式
+        //   true 点击按钮后立即自动开始
+        //   false 后台返回为成功时才开始
+        autoStart: {
+            type: Boolean,
+            default: true,
+        },
+        // 发送请求,通知后端给手机发验证码
         onCallPhoneCode: Function,
     },
     data() {

--
Gitblit v1.9.1