Skip to content

Commit eedf7fc

Browse files
committed
1 parent 2e0f5d8 commit eedf7fc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

adminforth/spa/src/components/CustomRangePicker.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,17 @@ onMounted(() => {
8989
})
9090
9191
function updateStartFromProps() {
92+
if (props.valueStart == start.value) {
93+
return;
94+
}
9295
start.value = props.valueStart;
9396
setSliderValues(start.value, end.value)
9497
}
9598
9699
function updateEndFromProps() {
100+
if (props.valueEnd == end.value) {
101+
return;
102+
}
97103
end.value = props.valueEnd;
98104
setSliderValues(start.value, end.value)
99105
}

0 commit comments

Comments
 (0)