![](/img/trans.png)
[英]ReactJS - Unknown prop `activeClassName` on <a> tag. Remove this prop from the element
[英]ReactJS - Warning: Unknown prop `onTouchTap` on <label> tag. Remove this prop from the element
我从http://redux-form.com/6.6.3/examples/material-ui/中获取了示例,并在本地主机上运行了该示例。 我收到错误:
警告:标签上的未知道具onTouchTap
。 从元素中移除该道具
错误来自material-ui插件。 有人解决了吗?
在您的应用上添加这些行
import injectTapEventPlugin from 'react-tap-event-plugin';
injectTapEventPlugin();
在ReactDOM.render();
之前ReactDOM.render();
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.