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

[BUG] before 还未从 hook 中拿出就进行判断了 #2

Closed
IronKinoko opened this issue Oct 24, 2021 · 1 comment
Closed

[BUG] before 还未从 hook 中拿出就进行判断了 #2

IronKinoko opened this issue Oct 24, 2021 · 1 comment

Comments

@IronKinoko
Copy link
Contributor

typeof hook === "object" && typeof before === "function" && before();

beforeafter 都未从 hook 中拿出来,这行结果永远都是 false

@stevenlei
Copy link
Contributor

谢谢反馈,修正一下先

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

Successfully merging a pull request may close this issue.

2 participants