@seafile/seafile-calendar 0.0.29-alpha79 → 0.0.29-gzc3

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.
@@ -6917,8 +6917,6 @@ var CalendarRightPanel = function (_React$Component) {
6917
6917
  locale = _props.locale;
6918
6918
 
6919
6919
  var selectedDate = value.format().slice(0, String(value.format()).indexOf('T'));
6920
- console.log('value', value.format(this.localeFormat));
6921
- console.log('selectedDate', selectedDate);
6922
6920
  var highlight = this.state.highlightTime;
6923
6921
  var highlightTime = highlight ? highlight.format().slice(11, 16) : null;
6924
6922
  var isZhcn = locale && locale.today === '今天';
@@ -7439,6 +7437,7 @@ var _initialiseProps = function _initialiseProps() {
7439
7437
 
7440
7438
  this.onInputChange = function (event) {
7441
7439
  var str = event.target.value;
7440
+ console.log('str', str);
7442
7441
  var cananderStr = Object(__WEBPACK_IMPORTED_MODULE_9__util__["l" /* normalizeDateInput */])(str, _this2.state.localeFormat, _this2.state.delimiter);
7443
7442
  var _props = _this2.props,
7444
7443
  disabledDate = _props.disabledDate,
@@ -7447,7 +7446,10 @@ var _initialiseProps = function _initialiseProps() {
7447
7446
 
7448
7447
  var parts = Object(__WEBPACK_IMPORTED_MODULE_9__util__["d" /* formatDateLocal */])(cananderStr, _this2.state.localeFormat);
7449
7448
  // 没有内容,合法并直接退出
7449
+ console.log('cananderStr', cananderStr);
7450
+
7450
7451
  if (!str) {
7452
+ console.log('我不想走进来');
7451
7453
  onChange(null);
7452
7454
  _this2.setState({ str: '' });
7453
7455
  return;
@@ -7476,6 +7478,7 @@ var _initialiseProps = function _initialiseProps() {
7476
7478
  }
7477
7479
 
7478
7480
  if (selectedValue !== value || selectedValue && value && !selectedValue.isSame(value)) {
7481
+ console.log('成功🏅');
7479
7482
  _this2.setState({ str: str });
7480
7483
  onChange(value);
7481
7484
  }