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

对于生命周期和computed的callhook 存在缺陷 #87

Open
lixiaozhangme opened this issue Apr 1, 2024 · 0 comments
Open

对于生命周期和computed的callhook 存在缺陷 #87

lixiaozhangme opened this issue Apr 1, 2024 · 0 comments

Comments

@lixiaozhangme
Copy link

image image

这里 若schema是一个函数(目前, 我这边实现了一个babel 插件用于编译时期解析schema, 会将函数对象转译为函数), 将无法正常运行, 因为parseSchema函数中判断schema是函数将执行schema.bind(false), 后面的call 完全无法将this绑定到scope;

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