InputNumber: clearInterval before setInterval (#3514)

pull/4231/head
pengchongfu 2017-03-24 01:46:23 +08:00 committed by 杨奕
parent 233cdc28e9
commit 80d0ce2271
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@
on(el, 'mousedown', () => {
startTime = new Date();
once(document, 'mouseup', clear);
clearInterval(interval);
interval = setInterval(handler, 100);
});
}