Showing
1 changed file
with
4 additions
and
1 deletions
| ... | @@ -3,6 +3,9 @@ | ... | @@ -3,6 +3,9 @@ |
| 3 | <head> | 3 | <head> |
| 4 | <meta charset="utf-8"> | 4 | <meta charset="utf-8"> |
| 5 | <meta name="viewport" content="width=device-width, initial-scale=1"> | 5 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 6 | + <meta charset="utf-8"> | ||
| 7 | + <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
| 8 | + <meta name="csrf-token" content="{{ csrf_token() }}"> | ||
| 6 | <title>Demo</title> | 9 | <title>Demo</title> |
| 7 | <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback"> | 10 | <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback"> |
| 8 | <link rel="stylesheet" href="{{ asset('AdminLTE/plugins/fontawesome-free/css/all.min.css') }}"> | 11 | <link rel="stylesheet" href="{{ asset('AdminLTE/plugins/fontawesome-free/css/all.min.css') }}"> |
| ... | @@ -79,7 +82,7 @@ | ... | @@ -79,7 +82,7 @@ |
| 79 | }).then(res => { | 82 | }).then(res => { |
| 80 | if(res.data.status){ | 83 | if(res.data.status){ |
| 81 | alert('Upload thành công'); | 84 | alert('Upload thành công'); |
| 82 | - this.ocr=res.data.ocr | 85 | + this.ocr=res.data.data |
| 83 | this.openPdfWindow() | 86 | this.openPdfWindow() |
| 84 | } | 87 | } |
| 85 | else alert('Upload false'); | 88 | else alert('Upload false'); | ... | ... |
-
Please register or sign in to post a comment