@seafile/seafile-calendar 0.0.31-Apph0.22 → 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,8 +7385,8 @@ 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
- _this2.props.onChange(null);
7390
7390
  _this2.props.onClear(null);
7391
7391
  };
7392
7392
 
@@ -7399,10 +7399,10 @@ var _initialiseProps = function _initialiseProps() {
7399
7399
  onChange = _props.onChange,
7400
7400
  selectedValue = _props.selectedValue;
7401
7401
 
7402
+ console.log('str', str);
7402
7403
  // 没有内容,合法并直接退出
7403
-
7404
7404
  if (!str) {
7405
- _this2.props.onClear(null);
7405
+ onChange(null);
7406
7406
  _this2.setState({ str: '' });
7407
7407
  return;
7408
7408
  }