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

useLoading方法导致onMounted无法async #438

Closed
PuiwahWai opened this issue Mar 31, 2021 · 2 comments
Closed

useLoading方法导致onMounted无法async #438

PuiwahWai opened this issue Mar 31, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@PuiwahWai
Copy link

Describe the bug

useLoading方法导致onMounted无法async

Reproduction

onMounted is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.

@PuiwahWai
Copy link
Author

删除方法,使用Loading组件解决

@anncwb anncwb added the bug Something isn't working label Apr 1, 2021
@anncwb anncwb closed this as completed in 6b99622 Apr 7, 2021
@sandwichLili
Copy link

怎么修改全局loading图样呢,table和form里用的也是相同

@github-actions github-actions bot locked and limited conversation to collaborators Aug 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants