@seafile/seafile-calendar 0.0.31-Apph0.29 → 0.0.31-Apph0.30
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
CHANGED
@@ -7417,7 +7417,7 @@ var _initialiseProps = function _initialiseProps() {
|
|
7417
7417
|
|
7418
7418
|
if (selectedValue !== value || selectedValue && value && !selectedValue.isSame(value)) {
|
7419
7419
|
_this2.setState({ str: str });
|
7420
|
-
var changeVal = calendarStr
|
7420
|
+
var changeVal = !calendarStr ? defaultValue : value;
|
7421
7421
|
console.log('changeVal', changeVal);
|
7422
7422
|
onChange(changeVal);
|
7423
7423
|
}
|