Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] loading组件中,通过this.$loading获取Loading实例,传入需要的target,构造Loading即使传入lock为false,也触发了loading #22865

Open
godv61 opened this issue Apr 29, 2024 · 2 comments

Comments

@godv61
Copy link

godv61 commented Apr 29, 2024

Element UI version

2.15.8

OS/Browsers version

win11

Vue version

2.7.14

Reproduction Link

https://codepen.io/wei-gong-the-animator/pen/QWPPaMp

Steps to reproduce

在链接中有

What is Expected?

我希望当我构造对应的loading实例,并且我给他的lock为false的时候,loading状态是不触发的,因为我在做select框的级联搜索的时候,需要级联的触发loading状态

What is actually happening?

在链接中有

@godv61
Copy link
Author

godv61 commented Apr 29, 2024

在例子中,我在 const loading = this.$loading({
lock: false,
text: 'Loading',
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
}); 这一段中, 我设置lock为false,但是还是触发了loading状态

@sulongxiansheng
Copy link

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants