diff --git a/components/spin/index.tsx b/components/spin/index.tsx index 6ab46ac12..d8a6a74a5 100644 --- a/components/spin/index.tsx +++ b/components/spin/index.tsx @@ -78,6 +78,9 @@ export default class Spin extends React.Component { } } else { if (spinning && delay && !isNaN(Number(delay))) { + if (this.delayTimeout) { + clearTimeout(this.delayTimeout); + } this.delayTimeout = setTimeout(() => this.setState({ spinning }), delay); } else { this.setState({ spinning });