diff --git a/src/components/common/VnLocation.vue b/src/components/common/VnLocation.vue index b6cbfbafd..e5ed14a40 100644 --- a/src/components/common/VnLocation.vue +++ b/src/components/common/VnLocation.vue @@ -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);