@seafile/seafile-calendar 0.0.31-Apph0.57 → 0.0.31-Apph0.59
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
@@ -7419,14 +7419,16 @@ var _initialiseProps = function _initialiseProps() {
|
|
7419
7419
|
format = _props.format,
|
7420
7420
|
onChange = _props.onChange,
|
7421
7421
|
selectedValue = _props.selectedValue,
|
7422
|
-
shouldDisplayCurrent = _props.shouldDisplayCurrent
|
7422
|
+
shouldDisplayCurrent = _props.shouldDisplayCurrent,
|
7423
|
+
openValue = _props.openValue,
|
7424
|
+
onClear = _props.onClear;
|
7423
7425
|
|
7424
7426
|
console.log('openValue', openValue);
|
7425
7427
|
// 没有内容,合法并直接退出
|
7426
7428
|
if (!str || !calendarStr) {
|
7427
7429
|
if (shouldDisplayCurrent) {
|
7428
7430
|
_this2.setState({ str: '' });
|
7429
|
-
|
7431
|
+
onClear(openValue);
|
7430
7432
|
return;
|
7431
7433
|
}
|
7432
7434
|
_this2.onClear();
|