fix: Options VnSelect properties #746

Merged
alexm merged 5 commits from 6943_fix_customer_module into dev 2024-09-24 05:41:50 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 5fc306e11e - Show all commits

View File

@ -14,11 +14,11 @@ const props = defineProps({
});
const modelValue = ref(
props.location
? `${props.location?.postcode} - ${props.location?.city}(${props.location?.province?.name}), ${props.location?.country?.name}`
? `${props.location?.postcode}, ${props.location?.city}(${props.location?.province?.name}), ${props.location?.country?.name}`
: null
);
function showLabel(data) {
return `${data.code} - ${data.town}(${data.province}), ${data.country}`;
return `${data.code}, ${data.town}(${data.province}), ${data.country}`;
}
const handleModelValue = (data) => {
emit('update:model-value', data);