-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
62 changed files
with
488 additions
and
484 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,42 +14,42 @@ export interface LCaptchaButtonProps extends Omit<ButtonProps, 'disabled'> { | |
/** | ||
* 倒计时的秒数 | ||
*@author 李岚清 <https://github.com/llq0802> | ||
*@version 2.1.26 | ||
*@version 2.1.27 | ||
*@see 官网 https://llq0802.github.io/lighting-design/latest LCaptchaButtonProps | ||
*/ | ||
second?: number; | ||
/** | ||
*@author 李岚清 <https://github.com/llq0802> | ||
*@description 是否开始发送 | ||
*@version 2.1.26 | ||
*@version 2.1.27 | ||
*@see 官网 https://llq0802.github.io/lighting-design/latest LCaptchaButtonProps | ||
*/ | ||
start?: boolean; | ||
/** | ||
* 倒计时的文字, 会带上 second 秒 | ||
*@author 李岚清 <https://github.com/llq0802> | ||
*@version 2.1.26 | ||
*@version 2.1.27 | ||
*@see 官网 https://llq0802.github.io/lighting-design/latest LCaptchaButtonProps | ||
*/ | ||
disabledText?: string; | ||
/** | ||
* 缓存的key、页面刷新后倒计时继续 , 多个倒计时组件请设置不同的key。 | ||
*@author 李岚清 <https://github.com/llq0802> | ||
*@version 2.1.26 | ||
*@version 2.1.27 | ||
*@see 官网 https://llq0802.github.io/lighting-design/latest LCaptchaButtonProps | ||
*/ | ||
cacheKey: string; | ||
/** | ||
* 用于重置倒计时 | ||
*@author 李岚清 <https://github.com/llq0802> | ||
*@version 2.1.26 | ||
*@version 2.1.27 | ||
*@see 官网 https://llq0802.github.io/lighting-design/latest LCaptchaButtonProps | ||
*/ | ||
cancelRef?: React.MutableRefObject<(() => void) | undefined>; | ||
/** | ||
*@author 李岚清 <[email protected]> | ||
*@description 倒计时完成后触发 | ||
*@version 2.1.26 | ||
*@version 2.1.27 | ||
*@see 官网 https://llq0802.github.io/lighting-design/latest LCaptchaButtonProps | ||
*@see https://ant.design/components/button-cn/ | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.