@seafile/seafile-calendar 0.0.89 → 0.0.91
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
@@ -7403,7 +7403,6 @@ var _initialiseProps = function _initialiseProps() {
|
|
7403
7403
|
var _this2 = this;
|
7404
7404
|
|
7405
7405
|
this.onClear = function () {
|
7406
|
-
console.log('onClear');
|
7407
7406
|
_this2.setState({ str: '' });
|
7408
7407
|
_this2.props.onClear(null);
|
7409
7408
|
};
|
@@ -7419,11 +7418,7 @@ var _initialiseProps = function _initialiseProps() {
|
|
7419
7418
|
shouldDisplayCurrent = _props.shouldDisplayCurrent;
|
7420
7419
|
// 没有内容,合法并直接退出
|
7421
7420
|
|
7422
|
-
|
7423
|
-
console.log('calendarStr', calendarStr);
|
7424
|
-
|
7425
|
-
if (!str) {
|
7426
|
-
console.log('没有内容,合法并直接退出');
|
7421
|
+
if (!str || !calendarStr) {
|
7427
7422
|
if (shouldDisplayCurrent) {
|
7428
7423
|
_this2.setState({ str: '' });
|
7429
7424
|
onChange(__WEBPACK_IMPORTED_MODULE_8_dayjs___default()());
|