@seafile/seafile-calendar 0.0.31-Apph0.64 → 0.0.31-Apph0.66

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.
@@ -7419,11 +7419,10 @@ var _initialiseProps = function _initialiseProps() {
7419
7419
  // 没有内容,合法并直接退出
7420
7420
 
7421
7421
  if (shouldDisplayCurrent && !calendarStr) {
7422
- onChange(null);
7423
7422
  _this2.setState({ str: '' });
7423
+ onChange(__WEBPACK_IMPORTED_MODULE_8_dayjs___default()());
7424
7424
  return;
7425
- }
7426
- if (!str || !calendarStr) {
7425
+ } else if (!str || !calendarStr) {
7427
7426
  _this2.onClear();
7428
7427
  return;
7429
7428
  }