fix skit2
This commit is contained in:
@@ -121,7 +121,6 @@ export default {
|
||||
},
|
||||
FuncHantar: function () {
|
||||
|
||||
console.log(this.item.image);
|
||||
let formData = new FormData();
|
||||
formData.append('image', this.item.image);
|
||||
formData.append('kelulusan', this.selected);
|
||||
|
||||
+11
-1
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use Illuminate\Support\Facades\Http;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@@ -14,7 +15,16 @@ use Illuminate\Support\Facades\Route;
|
||||
*/
|
||||
|
||||
Route::get('/iframe', function () {
|
||||
echo 'for iframe';
|
||||
|
||||
$cawangan=Http::get(config('api.url').'/admin/permohonan/viewfiles',[
|
||||
'files_id' => 1
|
||||
])->json();
|
||||
|
||||
return response(base64_decode($cawangan['data']), 200, [
|
||||
'Content-type' => 'application/' . $cawangan['type'],
|
||||
'Content-Disposition' => 'inline; filename='.$cawangan['filename']
|
||||
]);
|
||||
|
||||
});
|
||||
|
||||
// Auth::routes();
|
||||
|
||||
Reference in New Issue
Block a user