fix: select `labelInValue` validator prop type error (#1393)

pull/1396/head^2
言肆 2019-11-08 11:14:00 +08:00 committed by tangjinzhou
parent 4687bf1066
commit d8ac932947
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ const AbstractSelectProps = () => ({
loading: PropTypes.bool,
});
const Value = PropTypes.shape({
key: PropTypes.string,
key: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
}).loose;
const SelectValue = PropTypes.oneOfType([