@seafile/seafile-calendar 0.0.31-gzc05 → 0.0.31-gzc06
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
@@ -7391,7 +7391,6 @@ var _initialiseProps = function _initialiseProps() {
|
|
7391
7391
|
|
7392
7392
|
this.onInputChange = function (event) {
|
7393
7393
|
var str = event.target.value;
|
7394
|
-
console.log('str', str);
|
7395
7394
|
var calendarStr = Object(__WEBPACK_IMPORTED_MODULE_9__util__["g" /* initializeStr */])(str, _this2.state.localFormat) || '';
|
7396
7395
|
var _props = _this2.props,
|
7397
7396
|
disabledDate = _props.disabledDate,
|
@@ -7402,9 +7401,9 @@ var _initialiseProps = function _initialiseProps() {
|
|
7402
7401
|
// 没有内容,合法并直接退出
|
7403
7402
|
|
7404
7403
|
if (!str) {
|
7404
|
+
var defayltValue = _this2.props.value;
|
7405
|
+
console.log('defayltValue', defayltValue);
|
7405
7406
|
onChange(__WEBPACK_IMPORTED_MODULE_8_dayjs___default()());
|
7406
|
-
console.log(111);
|
7407
|
-
var nowDay = __WEBPACK_IMPORTED_MODULE_8_dayjs___default()().format(format[0]);
|
7408
7407
|
_this2.setState({ str: '' });
|
7409
7408
|
return;
|
7410
7409
|
}
|