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

47页,代码,get访问器,在activeEffect不存在的情况下,不应该直接返回 return,而是应该返回 targte[key]。 #49

Closed
maolovecoding opened this issue Feb 28, 2022 · 1 comment

Comments

@maolovecoding
Copy link

get(target, key) {
// 没有副作用函数产生
if (!activeEffect) return target[key];
// ......
return target[key];
}

@HcySunYang
Copy link
Owner

重复问题,已在三印修复

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