Skip to content

Update directive.js#111

Open
Tidusww wants to merge 1 commit intoElemeFE:masterfrom
Tidusww:patch-1
Open

Update directive.js#111
Tidusww wants to merge 1 commit intoElemeFE:masterfrom
Tidusww:patch-1

Conversation

@Tidusww
Copy link
Copy Markdown

@Tidusww Tidusww commented Nov 27, 2018

lastExec应该使用Date.now(),如果使用now变量,lastExec在大多数情况下会比预期要小,造成目标函数的执行间隔偶尔会小于设定的间隔

lastExec应该使用Date.now(),如果使用now变量,lastExec在大多数情况下会比预期要小,造成目标函数的执行间隔偶尔会小于设定的间隔
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