Skip to content

[loading] delay在LoadingPlugin中无效 #3561

Open

Description

@sevennights

tdesign-vue 版本

1.11.1

重现链接

https://tdesign.tencent.com/vue/components/loading?tab=demo#%E6%9C%89%E5%BB%B6%E6%97%B6%E7%9A%84%E5%8A%A0%E8%BD%BD

重现步骤

在官网的例子中,点击「快速重新加载数据(无loading)」按钮,预期是在delay范围内,不应该出现loading。但可以看到快速闪烁的loading圆圈。
在项目中使用同时也复现了这个问题
使用LoadingPlugin delay属性也未生效

期望结果

loading不闪烁

实际结果

闪烁出现

框架版本

vue3.2

浏览器版本

chrome10.15

系统版本

window

Node版本

20

补充说明

No response

Activity

  1. github-actions commented on Apr 5, 2025

    @github-actions
    Contributor

    👋 @sevennights,感谢给 TDesign 提出了 issue。
    请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

  2. changed the title [-][loading] delay无效[/-] [+][loading] delay在LoadingPlugin中无效[/+] on Apr 14, 2025
  3. uyarn commented on Apr 14, 2025

    @uyarn
    Collaborator

    “官网的例子中,点击「快速重新加载数据(无loading)」按钮,预期是在delay范围内,不应该出现loading。但可以看到快速闪烁的loading圆圈” 是因为目前的实现只支持包裹的使用方式 示例是体现两种方式的差异。插件的方式确实存在问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions