We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
treeCheckStrictly, treeCheckable两属性都为true时,rc-animate会报错
错误显示
Animate.js:290 Uncaught Error: must set key for children at http://localhost:3000/dist/demo.js:2646:18 at Array.map (native) at Constructor.render (http://localhost:3000/dist/demo.js:2641:33) at ReactCompositeComponentWrapper._renderValidatedComponentWithoutOwnerOrContext (http://localhost:3000/node_modules/react/dist/react-with-addons.js:6336:34) at ReactCompositeComponentWrapper._renderValidatedComponent (http://localhost:3000/node_modules/react/dist/react-with-addons.js:6356:32) at ReactCompositeComponentWrapper.wrapper [as _renderValidatedComponent] (http://localhost:3000/node_modules/react/dist/react-with-addons.js:12883:21) at ReactCompositeComponentWrapper.mountComponent (http://localhost:3000/node_modules/react/dist/react-with-addons.js:5969:30) at ReactCompositeComponentWrapper.wrapper [as mountComponent] (http://localhost:3000/node_modules/react/dist/react-with-addons.js:12883:21) at Object.mountComponent (http://localhost:3000/node_modules/react/dist/react-with-addons.js:13617:35) at ReactDOMComponent.mountChildren (http://localhost:3000/node_modules/react/dist/react-with-addons.js:12222:44)
The text was updated successfully, but these errors were encountered:
Please provide a re-producible demo: http://codepen.io/benjycui/pen/KgPZrE?editors=001
Sorry, something went wrong.
demo在这: http://codepen.io/mosikoo/pen/OWoBVr?editors=0011
treeCheckStrictly, treeCheckable 一起存在报错
两者存在 然后赋默认值的时候会报错
treeCheckStrictly 和 treeCheckable 同时为 ture 的是时候, labelInValue 会变成 true,value 要写成 { value: '0-0-1-value', label: '0-0-1-label' } 的形式。
treeCheckStrictly
treeCheckable
ture
labelInValue
true
value
{ value: '0-0-1-value', label: '0-0-1-label' }
No branches or pull requests
treeCheckStrictly, treeCheckable两属性都为true时,rc-animate会报错
错误显示
Animate.js:290 Uncaught Error: must set key for children at http://localhost:3000/dist/demo.js:2646:18 at Array.map (native) at Constructor.render (http://localhost:3000/dist/demo.js:2641:33) at ReactCompositeComponentWrapper._renderValidatedComponentWithoutOwnerOrContext (http://localhost:3000/node_modules/react/dist/react-with-addons.js:6336:34) at ReactCompositeComponentWrapper._renderValidatedComponent (http://localhost:3000/node_modules/react/dist/react-with-addons.js:6356:32) at ReactCompositeComponentWrapper.wrapper [as _renderValidatedComponent] (http://localhost:3000/node_modules/react/dist/react-with-addons.js:12883:21) at ReactCompositeComponentWrapper.mountComponent (http://localhost:3000/node_modules/react/dist/react-with-addons.js:5969:30) at ReactCompositeComponentWrapper.wrapper [as mountComponent] (http://localhost:3000/node_modules/react/dist/react-with-addons.js:12883:21) at Object.mountComponent (http://localhost:3000/node_modules/react/dist/react-with-addons.js:13617:35) at ReactDOMComponent.mountChildren (http://localhost:3000/node_modules/react/dist/react-with-addons.js:12222:44)
The text was updated successfully, but these errors were encountered: