sz-mx-cabin
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -111,3 +111,3 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
}), /*#__PURE__*/React.createElement(DatePicker_m, _extends({}, properties, eventObj, leftProps, { | ||
precision: properties.picker | ||
precision: properties.picker === 'date' ? 'day' : properties.picker | ||
}), function (value) { | ||
@@ -114,0 +114,0 @@ return value ? moment(value).format(properties.format) : "请选择日期"; |
@@ -127,3 +127,3 @@ "use strict"; | ||
}), /*#__PURE__*/_react["default"].createElement(_antdMobile.DatePicker, _extends({}, properties, eventObj, leftProps, { | ||
precision: properties.picker | ||
precision: properties.picker === 'date' ? 'day' : properties.picker | ||
}), function (value) { | ||
@@ -130,0 +130,0 @@ return value ? (0, _moment["default"])(value).format(properties.format) : "请选择日期"; |
{ | ||
"name": "sz-mx-cabin", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "reactCabin", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1224054