mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 07:56:28 +08:00
🐛 fix delay not working
This commit is contained in:
parent
b7b3af7cef
commit
82b9fd271e
@ -88,7 +88,7 @@ class Spin extends React.Component<SpinProps, SpinState> {
|
||||
spinning: spinning && !shouldBeDelayed,
|
||||
};
|
||||
|
||||
if (shouldBeDelayed) {
|
||||
if (delay) {
|
||||
this.updateSpinning = debounce(this.updateSpinning, delay);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user