@seafile/seafile-calendar 0.0.29-alpha43 → 0.0.29-alpha44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/rc-calendar.js
CHANGED
@@ -7497,10 +7497,13 @@ var _initialiseProps = function _initialiseProps() {
|
|
7497
7497
|
};
|
7498
7498
|
|
7499
7499
|
this.onBlur = function () {
|
7500
|
+
if (!_this2.state.str) {
|
7501
|
+
_this2.setState({ str: Object(__WEBPACK_IMPORTED_MODULE_9__util__["c" /* formatDate */])(_this2.props.value, _this2.props.format) });
|
7502
|
+
}
|
7500
7503
|
_this2.setState(function (prevState, prevProps) {
|
7501
7504
|
return {
|
7502
7505
|
hasFocus: false,
|
7503
|
-
str:
|
7506
|
+
str: Object(__WEBPACK_IMPORTED_MODULE_9__util__["c" /* formatDate */])(prevProps.value, prevProps.format)
|
7504
7507
|
};
|
7505
7508
|
});
|
7506
7509
|
};
|