@seafile/seafile-calendar 0.0.29-alpha53 → 0.0.29-alpha56
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 +1 -1
- package/dist/rc-calendar.js.map +1 -1
- package/dist/rc-calendar.min.js +1 -1
- package/es/Calendar.js +1 -0
- package/es/date/DateInput.js +0 -1
- package/lib/Calendar.js +1 -0
- package/lib/date/DateInput.js +0 -1
- package/package.json +1 -1
package/dist/rc-calendar.js
CHANGED
@@ -3109,6 +3109,7 @@ var _initialiseProps = function _initialiseProps() {
|
|
3109
3109
|
};
|
3110
3110
|
|
3111
3111
|
this.onDateInputChange = function (value) {
|
3112
|
+
if (!value) return;
|
3112
3113
|
_this2.onSelect(value, {
|
3113
3114
|
source: 'dateInput'
|
3114
3115
|
});
|
@@ -7455,7 +7456,6 @@ var _initialiseProps = function _initialiseProps() {
|
|
7455
7456
|
// 没有内容,合法并直接退出
|
7456
7457
|
if (!str) {
|
7457
7458
|
onChange(null);
|
7458
|
-
_this2.onClear();
|
7459
7459
|
_this2.setState({ str: '' });
|
7460
7460
|
return;
|
7461
7461
|
}
|