fix: edit prefix can null

This commit is contained in:
Net 2024-08-05 16:54:00 +07:00
parent 555e06672a
commit fca36158d0

View file

@ -52,24 +52,6 @@ let nationalityFilter: (
update: (callbackFn: () => void, afterFn?: (ref: QSelect) => void) => void,
) => void;
onMounted(() => {
prefixNameFilter = selectFilterOptionRefMod(
ref(optionStore.globalOption.prefix),
prefixNameOptions,
'label',
);
genderFilter = selectFilterOptionRefMod(
ref(optionStore.globalOption.gender),
genderOptions,
'label',
);
nationalityFilter = selectFilterOptionRefMod(
ref(optionStore.globalOption.nationality),
nationalityOptions,
'label',
);
});
watch(
() => optionStore.globalOption,
() => {