diff --git a/src/components/common/VnSelect.vue b/src/components/common/VnSelect.vue index c3927be3b..3b2507f1e 100644 --- a/src/components/common/VnSelect.vue +++ b/src/components/common/VnSelect.vue @@ -186,7 +186,7 @@ onMounted(() => { if ($props.focusOnMount) setTimeout(() => vnSelectRef.value.showPopup(), 300); }); -const someIsLoading = computed(() => isLoading.value || arrayData.isLoading); +const someIsLoading = computed(() => isLoading.value || arrayData?.isLoading?.value); function findKeyInOptions() { if (!$props.options) return; return filter($props.modelValue, $props.options)?.length;