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.props.children缺少判断 #42

Open
fangkyi03 opened this issue Nov 29, 2018 · 0 comments
Open

this.props.children缺少判断 #42

fangkyi03 opened this issue Nov 29, 2018 · 0 comments

Comments

@fangkyi03
Copy link

https://github.com/Foveluy/Dragact/blob/ee3474cdfdb4831a41836597773f60dace61fb50/src/lib/dragger/index.tsx

401行
return this.props.children(provided, dragMix, resizeMix)

这里缺少对children的判断 因为 有些有可能是以前的写法 不一定是用你这个新的写法

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