@seafile/seafile-calendar 0.0.31-Apph0.21 → 0.0.31-Apph0.23

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.
@@ -7385,6 +7385,7 @@ var _initialiseProps = function _initialiseProps() {
7385
7385
  var _this2 = this;
7386
7386
 
7387
7387
  this.onClear = function () {
7388
+ console.log('我走进来了');
7388
7389
  _this2.setState({ str: '' });
7389
7390
  _this2.props.onClear(null);
7390
7391
  };
@@ -7398,10 +7399,10 @@ var _initialiseProps = function _initialiseProps() {
7398
7399
  onChange = _props.onChange,
7399
7400
  selectedValue = _props.selectedValue;
7400
7401
 
7402
+ console.log('str', str);
7401
7403
  // 没有内容,合法并直接退出
7402
-
7403
7404
  if (!str) {
7404
- onChange(__WEBPACK_IMPORTED_MODULE_8_dayjs___default()());
7405
+ onChange(null);
7405
7406
  _this2.setState({ str: '' });
7406
7407
  return;
7407
7408
  }