Commit 80d0ce22 authored by pengchongfu's avatar pengchongfu Committed by 杨奕

InputNumber: clearInterval before setInterval (#3514)

parent 233cdc28
...@@ -66,6 +66,7 @@ ...@@ -66,6 +66,7 @@
on(el, 'mousedown', () => { on(el, 'mousedown', () => {
startTime = new Date(); startTime = new Date();
once(document, 'mouseup', clear); once(document, 'mouseup', clear);
clearInterval(interval);
interval = setInterval(handler, 100); interval = setInterval(handler, 100);
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment