@seafile/seafile-calendar 0.0.29-gzc1 → 0.0.29-gzc31
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 +5 -0
- package/dist/rc-calendar.js.map +1 -1
- package/dist/rc-calendar.min.js +1 -1
- package/es/Picker.js +1 -0
- package/es/date/DateInput.js +5 -0
- package/lib/Picker.js +1 -0
- package/lib/date/DateInput.js +5 -0
- package/package.json +1 -1
package/dist/rc-calendar.js
CHANGED
@@ -7437,6 +7437,7 @@ var _initialiseProps = function _initialiseProps() {
|
|
7437
7437
|
|
7438
7438
|
this.onInputChange = function (event) {
|
7439
7439
|
var str = event.target.value;
|
7440
|
+
console.log('str', str);
|
7440
7441
|
var cananderStr = Object(__WEBPACK_IMPORTED_MODULE_9__util__["l" /* normalizeDateInput */])(str, _this2.state.localeFormat, _this2.state.delimiter);
|
7441
7442
|
var _props = _this2.props,
|
7442
7443
|
disabledDate = _props.disabledDate,
|
@@ -7445,7 +7446,10 @@ var _initialiseProps = function _initialiseProps() {
|
|
7445
7446
|
|
7446
7447
|
var parts = Object(__WEBPACK_IMPORTED_MODULE_9__util__["d" /* formatDateLocal */])(cananderStr, _this2.state.localeFormat);
|
7447
7448
|
// 没有内容,合法并直接退出
|
7449
|
+
console.log('cananderStr', cananderStr);
|
7450
|
+
|
7448
7451
|
if (!str) {
|
7452
|
+
console.log('我不想走进来');
|
7449
7453
|
onChange(null);
|
7450
7454
|
_this2.setState({ str: '' });
|
7451
7455
|
return;
|
@@ -7474,6 +7478,7 @@ var _initialiseProps = function _initialiseProps() {
|
|
7474
7478
|
}
|
7475
7479
|
|
7476
7480
|
if (selectedValue !== value || selectedValue && value && !selectedValue.isSame(value)) {
|
7481
|
+
console.log('成功🏅');
|
7477
7482
|
_this2.setState({ str: str });
|
7478
7483
|
onChange(value);
|
7479
7484
|
}
|