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

做代理的时候,可以参考 vue3.0 的,不知道可以不以 #5

Open
mannymu opened this issue Oct 11, 2019 · 2 comments
Open

Comments

@mannymu
Copy link

mannymu commented Oct 11, 2019

代码看下,质量蛮高,反正我写不出来。。。那个 addProxy 是一次将对象的深层次,全部代理完。可以参考一下 vue3.0的代理办法,在 get 里面再做代理, 不get就不代理。。。

@yisbug
Copy link
Owner

yisbug commented Oct 12, 2019

我有看 vue 的源码,使用 get 做代理的话,有些场景会不太好用。
使用 addProxy 也有一些缺陷,这里的实现都不太完美,有空再想一下怎么改。

@mannymu
Copy link
Author

mannymu commented Oct 16, 2019

更新了记得告诉我哟。

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