Skip to content

Commit

Permalink
3.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
iamtang committed Aug 9, 2023
1 parent e45ab03 commit 852018f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions lib/Calendar/components/Calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,9 @@ var Calendar = function (_PureComponent) {
defaultEndTime = _props2.defaultEndTime,
visible = _props2.visible,
maskClose = _props2.maskClose,
dayCalculator = _props2.dayCalculator;
dayCalculator = _props2.dayCalculator,
_props2$height = _props2.height,
height = _props2$height === undefined ? '85vh' : _props2$height;
var _state5 = this.state,
calendarMap = _state5.calendarMap,
i18n = _state5.i18n,
Expand All @@ -425,7 +427,7 @@ var Calendar = function (_PureComponent) {
var cardClassName = (0, _classnames2.default)(prefixCls, className);
return _react2.default.createElement(
_Popup2.default,
{ visible: !!visible, bodyStyle: { height: '90vh' }, maskClose: maskClose },
{ visible: !!visible, bodyStyle: { height: height }, maskClose: maskClose },
_react2.default.createElement(
'div',
{ style: style, className: cardClassName },
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "zzc-design-mobile",
"name_cn": "租租车主流程UI规范",
"version": "3.7.1",
"version": "3.7.2",
"description": "",
"main": "./lib/index.js",
"scripts": {
Expand Down

0 comments on commit 852018f

Please sign in to comment.