@seafile/seafile-calendar 0.0.31-Apph0.39 → 0.0.31-Apph0.40
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
@@ -7398,11 +7398,12 @@ var _initialiseProps = function _initialiseProps() {
|
|
7398
7398
|
onChange = _props.onChange,
|
7399
7399
|
selectedValue = _props.selectedValue;
|
7400
7400
|
|
7401
|
-
|
7401
|
+
console.log('calendarStr', !calendarStr);
|
7402
|
+
console.log('str', !str);
|
7402
7403
|
|
7403
|
-
|
7404
|
-
|
7405
|
-
_this2.
|
7404
|
+
// 没有内容,合法并直接退出
|
7405
|
+
if (!str || !calendarStr) {
|
7406
|
+
_this2.onClear();
|
7406
7407
|
return;
|
7407
7408
|
}
|
7408
7409
|
var parsed = __WEBPACK_IMPORTED_MODULE_8_dayjs___default()(calendarStr, format[0]);
|