From a575d3e27138e52077dc713d224928d0973aeee2 Mon Sep 17 00:00:00 2001 From: tjz <415800467@qq.com> Date: Sat, 7 Apr 2018 14:31:41 +0800 Subject: [PATCH] fix type --- components/input/Search.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/input/Search.jsx b/components/input/Search.jsx index 813f21814..31db8e4d9 100644 --- a/components/input/Search.jsx +++ b/components/input/Search.jsx @@ -6,7 +6,7 @@ import inputProps from './inputProps' import Button from '../button' import { cloneElement } from '../_util/vnode' import { getOptionProps, getComponentFromProp } from '../_util/props-util' -import PropsType from '../_util/vue-types' +import PropTypes from '../_util/vue-types' export default { name: 'InputSearch', @@ -20,7 +20,7 @@ export default { default: 'ant-input', type: String, }, - enterButton: PropsType.oneOfType([PropsType.bool, PropsType.string, PropsType.object]), + enterButton: PropTypes.oneOfType([PropTypes.bool, PropTypes.string, PropTypes.object]), }, computed: { },