refactor: handle value visa
This commit is contained in:
parent
3527d29427
commit
c70cfb0602
1 changed files with 2 additions and 2 deletions
|
|
@ -163,8 +163,8 @@ async function change(e: Event) {
|
||||||
|
|
||||||
if (resOcr.group === 'visa') {
|
if (resOcr.group === 'visa') {
|
||||||
obj.value[currentIndex.value]._meta = {
|
obj.value[currentIndex.value]._meta = {
|
||||||
type: map['visa_type'],
|
type: map['visa_type'] || '',
|
||||||
number: map['visa_no'],
|
number: map['visa_no'] || '',
|
||||||
issueDate: map['valid_until'],
|
issueDate: map['valid_until'],
|
||||||
expireDate: map['expire_date'],
|
expireDate: map['expire_date'],
|
||||||
issuePlace: map['issue_place'],
|
issuePlace: map['issue_place'],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue