@seafile/seafile-calendar 0.0.29-alpha54 → 0.0.29-alpha56
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 +2 -1
- package/dist/rc-calendar.js.map +1 -1
- package/dist/rc-calendar.min.js +1 -1
- package/es/Calendar.js +1 -0
- package/es/date/DateInput.js +1 -1
- package/lib/Calendar.js +1 -0
- package/lib/date/DateInput.js +1 -1
- package/package.json +1 -1
package/dist/rc-calendar.js
CHANGED
@@ -3109,6 +3109,7 @@ var _initialiseProps = function _initialiseProps() {
|
|
3109
3109
|
};
|
3110
3110
|
|
3111
3111
|
this.onDateInputChange = function (value) {
|
3112
|
+
if (!value) return;
|
3112
3113
|
_this2.onSelect(value, {
|
3113
3114
|
source: 'dateInput'
|
3114
3115
|
});
|
@@ -7454,7 +7455,7 @@ var _initialiseProps = function _initialiseProps() {
|
|
7454
7455
|
var parts = Object(__WEBPACK_IMPORTED_MODULE_9__util__["d" /* formatDateLocal */])(cananderStr, _this2.state.localeFormat);
|
7455
7456
|
// 没有内容,合法并直接退出
|
7456
7457
|
if (!str) {
|
7457
|
-
onChange(
|
7458
|
+
onChange(null);
|
7458
7459
|
_this2.setState({ str: '' });
|
7459
7460
|
return;
|
7460
7461
|
}
|