fix: add optional chaining to loading state check in VnSelect component
gitea/salix-front/pipeline/head This commit looks good
Details
gitea/salix-front/pipeline/head This commit looks good
Details
This commit is contained in:
parent
5a04aa8e27
commit
99bc6d3b75
|
@ -184,7 +184,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;
|
||||
|
|
Loading…
Reference in New Issue