@seafile/seafile-calendar 0.0.31-gzc07 → 0.0.31-gzc08

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.
@@ -2839,7 +2839,6 @@ var Calendar = function (_React$Component) {
2839
2839
  key: 'date-input',
2840
2840
  value: value,
2841
2841
  locale: locale,
2842
- defaultValue: props.defaultValue,
2843
2842
  placeholder: calendarInputPlaceholder,
2844
2843
  showClear: true,
2845
2844
  disabledTime: disabledTime,
@@ -7379,8 +7378,7 @@ DateInput.propTypes = {
7379
7378
  onSelect: __WEBPACK_IMPORTED_MODULE_5_prop_types___default.a.func,
7380
7379
  selectedValue: __WEBPACK_IMPORTED_MODULE_5_prop_types___default.a.object,
7381
7380
  clearIcon: __WEBPACK_IMPORTED_MODULE_5_prop_types___default.a.node,
7382
- inputMode: __WEBPACK_IMPORTED_MODULE_5_prop_types___default.a.string,
7383
- defaultValue: __WEBPACK_IMPORTED_MODULE_5_prop_types___default.a.object
7381
+ inputMode: __WEBPACK_IMPORTED_MODULE_5_prop_types___default.a.string
7384
7382
  };
7385
7383
 
7386
7384
  var _initialiseProps = function _initialiseProps() {
@@ -7397,14 +7395,13 @@ var _initialiseProps = function _initialiseProps() {
7397
7395
  var _props = _this2.props,
7398
7396
  disabledDate = _props.disabledDate,
7399
7397
  format = _props.format,
7400
- defaultValue = _props.defaultValue,
7401
7398
  onChange = _props.onChange,
7402
7399
  selectedValue = _props.selectedValue;
7403
7400
 
7404
7401
  // 没有内容,合法并直接退出
7405
7402
 
7406
7403
  if (!str) {
7407
- console.log('defayltValue', defaultValue);
7404
+ console.log('selectedValue', selectedValue);
7408
7405
  onChange(__WEBPACK_IMPORTED_MODULE_8_dayjs___default()());
7409
7406
  _this2.setState({ str: '' });
7410
7407
  return;