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

this.onlyOneChild 为什么写在return外面 #3866

Open
phoenixrever opened this issue Nov 14, 2021 · 0 comments
Open

this.onlyOneChild 为什么写在return外面 #3866

phoenixrever opened this issue Nov 14, 2021 · 0 comments

Comments

@phoenixrever
Copy link

data() { this.onlyOneChild = null return { } },

this.onlyOneChild = null 写在return 里面时候 改变权限刷新sidebar时候会 出现 infinite update loop
哪位大佬能解释下原因吗

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