测试
This commit is contained in:
7
frontend/node_modules/element-plus/es/utils/raf.mjs
generated
vendored
Normal file
7
frontend/node_modules/element-plus/es/utils/raf.mjs
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import { isClient } from '@vueuse/core';
|
||||
|
||||
const rAF = (fn) => isClient ? window.requestAnimationFrame(fn) : setTimeout(fn, 16);
|
||||
const cAF = (handle) => isClient ? window.cancelAnimationFrame(handle) : clearTimeout(handle);
|
||||
|
||||
export { cAF, rAF };
|
||||
//# sourceMappingURL=raf.mjs.map
|
||||
Reference in New Issue
Block a user