mirror of
https://github.com/youzan/vant.git
synced 2026-05-16 01:07:43 +08:00
chore(@vant/use): fix some lint issues (#8462)
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user