chore(@vant/use): fix some lint issues (#8462)

This commit is contained in:
neverland
2021-04-06 20:03:26 +08:00
committed by GitHub
parent fe453dabb1
commit ace4c9b60b
8 changed files with 33 additions and 36 deletions
+1 -3
View File
@@ -24,7 +24,5 @@ export function cancelRaf(id: number) {
// double raf for animation
export function doubleRaf(fn: FrameRequestCallback): void {
raf(() => {
raf(fn);
});
raf(() => raf(fn));
}