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] 调用getData有时会报错 #9

Open
TheXiong opened this issue Dec 7, 2023 · 3 comments
Open

[BUG Report] 调用getData有时会报错 #9

TheXiong opened this issue Dec 7, 2023 · 3 comments
Labels
bug: need confirm Maybe a bug, waiting for confirmation

Comments

@TheXiong
Copy link

TheXiong commented Dec 7, 2023

Environment

- OS:
- Node:
- pnpm:
- vue:
- element-plus:

设备/浏览器

chrome

描述一下你的问题

image

重现步骤

监听triggerChange时调用getData

Anything else?

No response

@TheXiong TheXiong added the bug: need confirm Maybe a bug, waiting for confirmation label Dec 7, 2023
@Liberty-liu
Copy link
Owner

Liberty-liu commented Dec 7, 2023

提供一个demo,方便重现

@TheXiong
Copy link
Author

提供一个demo,方便重现
就是在listener里面调用getData,或许和v-if有关?这个组件里没提供更新options的方法,我现在只能通过vif显隐来重新加载options。

@Liberty-liu
Copy link
Owner

试试在v-if,nextTick之后再调用吧

@github-staff github-staff deleted a comment Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: need confirm Maybe a bug, waiting for confirmation
Projects
None yet
Development

No branches or pull requests

2 participants