mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-30 02:57:50 +08:00
parent
04f3e0da21
commit
fc9b52e6e7
@ -1,4 +1,4 @@
|
||||
let raf = (callback: FrameRequestCallback) => +setTimeout(callback, 16);
|
||||
let raf = (callback: FrameRequestCallback) => setTimeout(callback, 16) as any;
|
||||
let caf = (num: number) => clearTimeout(num);
|
||||
|
||||
if (typeof window !== 'undefined' && 'requestAnimationFrame' in window) {
|
||||
|
Loading…
Reference in New Issue
Block a user