Skip to content

fix: 修复重复添加事件判断#3

Open
lfb wants to merge 1 commit intomqyqingfeng:masterfrom
lfb:fix/recurring_event
Open

fix: 修复重复添加事件判断#3
lfb wants to merge 1 commit intomqyqingfeng:masterfrom
lfb:fix/recurring_event

Conversation

@lfb
Copy link

@lfb lfb commented Dec 17, 2021

当多次添加同个事件,会触发多次

var fn = function(){
    console.log('恭喜您已经阅读完毕')
}
progressBar.once("end", fn)
progressBar.once("end", fn)
progressBar.once("end", fn)
progressBar.once("end", fn)

@lfb lfb force-pushed the fix/recurring_event branch from 9dac418 to 1c6c234 Compare December 17, 2021 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments