Failed prop type: Invalid prop `disabled` of type `string` supplied to `Input`, expected `boolean`. 其他 2021-03-04 16:05 0 阅读 这类警告,我的解决其实就是Input中的disabled赋值有问题,不能直接赋值true,需要通过变量来赋值: const disabled=true; <Input disabled={disabled} /> 猜你喜欢