chore: slider - 删除多余代码

This commit is contained in:
halo 2022-03-09 07:37:29 +08:00
parent 89ce6c18e9
commit 42d8b70033

View File

@ -1,11 +1,3 @@
export function sleep(wait: number) {
return new Promise((resolve) => {
setTimeout(() => {
resolve(1);
}, wait);
});
}
export function throttle(func: Function) {
let timer: any = null;
return function (args: any) {