diff --git a/packages/vant-use/src/useCountDown/index.ts b/packages/vant-use/src/useCountDown/index.ts index 344953fdf..25f5176e6 100644 --- a/packages/vant-use/src/useCountDown/index.ts +++ b/packages/vant-use/src/useCountDown/index.ts @@ -121,7 +121,7 @@ export function useCountDown(options: UseCountDownOptions) { } }; - const reset = (totalTime: number) => { + const reset = (totalTime: number = options.time) => { pause(); remain.value = totalTime; };