Merge remote-tracking branch 'origin/main'

This commit is contained in:
haibiao_gu
2025-11-05 11:11:33 +08:00
3 changed files with 10 additions and 6 deletions

View File

@@ -794,7 +794,9 @@ function confirm() {
watch(
computed(() => props.modelValue),
(val: string) => {
setValue(val);
if (!props.rangeable) {
setValue(val);
}
},
{
immediate: true
@@ -805,7 +807,9 @@ watch(
watch(
computed(() => props.values),
(val: string[]) => {
setValues(val);
if (props.rangeable) {
setValues(val);
}
},
{
immediate: true