Skip to content

spin组件设置delay无效 #3469

@jingping-ye

Description

@jingping-ye
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.7.2

Environment

System:
OS: Windows 10 10.0.18363
CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
Binaries:
Node: 14.15.1 - D:\installed\resource\nodejs\node.EXE
npm: 6.14.8 - D:\installed\resource\nodejs\npm.CMD
Browsers:
Chrome: 86.0.4240.198
npmPackages:
ant-design-vue: ^1.7.2 => 1.7.2
vue: ^2.6.11 => 2.6.11

Reproduction link

https://github.com/jingping-ye/bug-report.git

Steps to reproduce

  1. 发起请求,此时spinning设置为true
  2. 请求完毕之后,设置spinning为false。设置一个延时定时器,定时器再次发起请求。
  3. 当请求时间超过delay时间时,即使下次请求小于delay时间。spinning也没有停止下来。

What is expected?

按时停止

What is actually happening?

spin不能停止

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions