diff options
author | afc163 <afc163@gmail.com> | 2017-03-22 15:53:14 +0800 |
---|---|---|
committer | afc163 <afc163@gmail.com> | 2017-03-22 15:53:14 +0800 |
commit | bc74c14f3cb8ea2d2b242563dbe9963b6491ade4 (patch) | |
tree | 90c8088ea6bdb3e86c7a09bff504b1857d5c6f5a /examples/common.js | |
parent | 886ce0a181b50c024fe5c4c35064750c816dd316 (diff) | |
download | time-picker-bc74c14f3cb8ea2d2b242563dbe9963b6491ade4.tar.gz time-picker-bc74c14f3cb8ea2d2b242563dbe9963b6491ade4.tar.zst time-picker-bc74c14f3cb8ea2d2b242563dbe9963b6491ade4.zip |
Updates
Diffstat (limited to 'examples/common.js')
-rw-r--r-- | examples/common.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/common.js b/examples/common.js index ac8765b..46dc3bc 100644 --- a/examples/common.js +++ b/examples/common.js | |||
@@ -25716,13 +25716,14 @@ | |||
25716 | showSecond = _props5.showSecond, | 25716 | showSecond = _props5.showSecond, |
25717 | getPopupContainer = _props5.getPopupContainer, | 25717 | getPopupContainer = _props5.getPopupContainer, |
25718 | name = _props5.name, | 25718 | name = _props5.name, |
25719 | autoComplete = _props5.autoComplete; | 25719 | autoComplete = _props5.autoComplete, |
25720 | use12Hours = _props5.use12Hours; | ||
25720 | var _state = this.state, | 25721 | var _state = this.state, |
25721 | open = _state.open, | 25722 | open = _state.open, |
25722 | value = _state.value; | 25723 | value = _state.value; |
25723 | 25724 | ||
25724 | var popupClassName = void 0; | 25725 | var popupClassName = void 0; |
25725 | if (!showHour || !showMinute || !showSecond) { | 25726 | if ((!showHour || !showMinute || !showSecond) && !use12Hours) { |
25726 | popupClassName = prefixCls + '-panel-narrow'; | 25727 | popupClassName = prefixCls + '-panel-narrow'; |
25727 | } | 25728 | } |
25728 | return _react2.default.createElement( | 25729 | return _react2.default.createElement( |