diff --git a/components/time-picker/index.tsx b/components/time-picker/index.tsx index 7d5d5501de..1f09a65a80 100644 --- a/components/time-picker/index.tsx +++ b/components/time-picker/index.tsx @@ -92,7 +92,7 @@ export default class TimePicker extends React.Component { } render() { - const props = assign({}, this.props); + const props = assign({ format: 'HH:mm:ss' }, this.props); delete props.defaultValue; const className = classNames({ diff --git a/package.json b/package.json index cbccc81ec4..a1745f0175 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "babel-jest": "^13.2.2", "babel-plugin-import": "^1.0.0", "babel-plugin-transform-runtime": "~6.15.0", - "bisheng": "^0.13.0", + "bisheng": "^0.14.0", "bisheng-plugin-antd": "~0.3.0", "bisheng-plugin-description": "^0.1.1", "bisheng-plugin-react": "^0.2.0",