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

FormSchema的 optionApi 在详情或编辑弹窗组件中,多次调用 #553

Open
xucaiqin opened this issue Nov 1, 2024 · 1 comment

Comments

@xucaiqin
Copy link

xucaiqin commented Nov 1, 2024

当在编辑或者详情弹窗中,使用了 optionApi加载异步接口时,接口会多次重复调用。

@xucaiqin
Copy link
Author

xucaiqin commented Nov 4, 2024

因为在template的模板中使用方法渲染,会触发vue两个阶段的声明周期函数,分别是在beforeMount 和mounted中间会执行一次。以及beforeUpdate 和 updated中间会执行一次

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

1 participant