feat: passport type option
This commit is contained in:
parent
98e44c7935
commit
f6c98b4936
2 changed files with 68 additions and 3 deletions
|
|
@ -49,9 +49,12 @@ let passportIssuingCountryFilter: (
|
|||
) => void;
|
||||
|
||||
onMounted(() => {
|
||||
if (optionStore.globalOption?.nationality) {
|
||||
if (
|
||||
optionStore.globalOption?.nationality &&
|
||||
optionStore.globalOption?.passportType
|
||||
) {
|
||||
passportTypeFilter = selectFilterOptionRefMod(
|
||||
ref(optionStore.globalOption.nationality),
|
||||
ref(optionStore.globalOption.passportType),
|
||||
passportTypeOptions,
|
||||
'label',
|
||||
);
|
||||
|
|
@ -67,7 +70,7 @@ watch(
|
|||
() => optionStore.globalOption,
|
||||
() => {
|
||||
passportTypeFilter = selectFilterOptionRefMod(
|
||||
ref(optionStore.globalOption.nationality),
|
||||
ref(optionStore.globalOption.passportType),
|
||||
passportTypeOptions,
|
||||
'label',
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue