Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -58,10 +58,10 @@ | ... | @@ -58,10 +58,10 @@ |
| 58 | 'Content-Type':'multipart/form-data' | 58 | 'Content-Type':'multipart/form-data' |
| 59 | } | 59 | } |
| 60 | }).then(res => { | 60 | }).then(res => { |
| 61 | - this.ocr=res.data.ocr | ||
| 62 | if(res.data.status){ | 61 | if(res.data.status){ |
| 63 | alert('Upload thành công'); | 62 | alert('Upload thành công'); |
| 64 | - | 63 | + this.ocr=res.data.ocr |
| 64 | + this.openPdfWindow() | ||
| 65 | } | 65 | } |
| 66 | else alert('Upload false'); | 66 | else alert('Upload false'); |
| 67 | }).finally(() => { | 67 | }).finally(() => { | ... | ... |
-
Please register or sign in to post a comment