@alauda/ui 9.1.2-beta.4 → 9.1.2-beta.5
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/fesm2022/alauda-ui.mjs
CHANGED
|
@@ -5196,6 +5196,9 @@ class CalendarHeaderComponent {
|
|
|
5196
5196
|
// minAvail > current date :left btn hide
|
|
5197
5197
|
shouldShowNav(type, side) {
|
|
5198
5198
|
const availValue = (side === Side.Left ? this._minAvail : this._maxAvail)?.clone();
|
|
5199
|
+
if (!availValue) {
|
|
5200
|
+
return true;
|
|
5201
|
+
}
|
|
5199
5202
|
/**
|
|
5200
5203
|
* 对于 range-picker
|
|
5201
5204
|
* 左侧部分 minAvail = minDate, maxAvail = min(maxData, rightAnchor),从而左侧部分的按钮,仅在小于右侧部分时显示
|