0
我從http://redux-form.com/6.6.3/examples/material-ui/中拿出例子,並在我的本地主機上運行它。我收到錯誤:ReactJS - 警告:<label>標記上的未知道具`onTouchTap`。從元素中刪除這個道具
警告:未知道具onTouchTap
標記。從元素中刪除此道具
錯誤來自material-ui插件。任何人都已經解決了它?
我從http://redux-form.com/6.6.3/examples/material-ui/中拿出例子,並在我的本地主機上運行它。我收到錯誤:ReactJS - 警告:<label>標記上的未知道具`onTouchTap`。從元素中刪除這個道具
警告:未知道具onTouchTap
標記。從元素中刪除此道具
錯誤來自material-ui插件。任何人都已經解決了它?
添加這些行對您的應用程序
import injectTapEventPlugin from 'react-tap-event-plugin';
injectTapEventPlugin();
前ReactDOM.render();
檢查這一項,嘗試建議的解決方案:https://github.com/callemall/material-ui/issues/4670 –