@seafile/seafile-calendar 0.0.29-alpha39 → 0.0.29-alpha41

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.
@@ -7454,7 +7454,7 @@ var _initialiseProps = function _initialiseProps() {
7454
7454
 
7455
7455
  var parts = Object(__WEBPACK_IMPORTED_MODULE_9__util__["d" /* formatDateLocal */])(cananderStr, _this2.state.localeFormat);
7456
7456
  // 没有内容,合法并直接退出
7457
- if (!str) {
7457
+ if (!str || str.length === 0) {
7458
7458
  onChange(null);
7459
7459
  _this2.setState({ str: str });
7460
7460
  return;