refactor: handle value visa

This commit is contained in:
Thanaphon Frappet 2024-11-12 09:04:40 +07:00
parent 3527d29427
commit c70cfb0602

View file

@ -163,8 +163,8 @@ async function change(e: Event) {
if (resOcr.group === 'visa') {
obj.value[currentIndex.value]._meta = {
type: map['visa_type'],
number: map['visa_no'],
type: map['visa_type'] || '',
number: map['visa_no'] || '',
issueDate: map['valid_until'],
expireDate: map['expire_date'],
issuePlace: map['issue_place'],