|
|
@ -79,13 +79,13 @@ onMounted(() => { |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
const optionChanged = (changedId: string) => { |
|
|
|
const optionChanged = (changedId: string) => { |
|
|
|
if (changedId === defaultOption.value?.id) { |
|
|
|
if (changedId && changedId === defaultOption.value?.id) { |
|
|
|
vModel.value.cdf = defaultOption.value.title |
|
|
|
vModel.value.cdf = defaultOption.value.title |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const optionDropped = (changedId: string) => { |
|
|
|
const optionDropped = (changedId: string) => { |
|
|
|
if (changedId === defaultOption.value?.id) { |
|
|
|
if (changedId && changedId === defaultOption.value?.id) { |
|
|
|
vModel.value.cdf = null |
|
|
|
vModel.value.cdf = null |
|
|
|
defaultOption.value = null |
|
|
|
defaultOption.value = null |
|
|
|
} |
|
|
|
} |
|
|
|