mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 03:44:48 +00:00
feat(CountDown): add change event (#5599)
This commit is contained in:
@@ -141,6 +141,7 @@ export default createComponent({
|
||||
|
||||
setRemain(remain) {
|
||||
this.remain = remain;
|
||||
this.$emit('change', this.timeData);
|
||||
|
||||
if (remain === 0) {
|
||||
this.pause();
|
||||
|
Reference in New Issue
Block a user