mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-06-29 17:47:35 +00:00
fix
This commit is contained in:
parent
5394e1eca8
commit
f93a21a0ec
@ -377,8 +377,10 @@ limitations under the License. -->
|
||||
}
|
||||
classObj[`${state.pre}-date`] = true;
|
||||
classObj[`${state.pre}-date-disabled`] =
|
||||
(props.right && (t < start.value || t > maxEnd.value)) ||
|
||||
(props.right && (t < start.value || t > maxEnd.value || !props.maxRange?.length)) ||
|
||||
(props.left && t < minStart.value) ||
|
||||
t > end.value ||
|
||||
!props.maxRange?.length ||
|
||||
t > maxEnd.value ||
|
||||
props.disabledDate(time, format);
|
||||
classObj[`${state.pre}-date-on`] = (props.left && t > start.value) || (props.right && t < end.value);
|
||||
|
Loading…
Reference in New Issue
Block a user