@seafile/seafile-calendar 0.0.31-Apph0.21 → 0.0.31-Apph0.22
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
@@ -7386,6 +7386,7 @@ var _initialiseProps = function _initialiseProps() {
|
|
7386
7386
|
|
7387
7387
|
this.onClear = function () {
|
7388
7388
|
_this2.setState({ str: '' });
|
7389
|
+
_this2.props.onChange(null);
|
7389
7390
|
_this2.props.onClear(null);
|
7390
7391
|
};
|
7391
7392
|
|
@@ -7401,7 +7402,7 @@ var _initialiseProps = function _initialiseProps() {
|
|
7401
7402
|
// 没有内容,合法并直接退出
|
7402
7403
|
|
7403
7404
|
if (!str) {
|
7404
|
-
|
7405
|
+
_this2.props.onClear(null);
|
7405
7406
|
_this2.setState({ str: '' });
|
7406
7407
|
return;
|
7407
7408
|
}
|