Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2dd079c

Browse files
committed
Changing response.data in loadImage in Thumbnail.vue
1 parentda2d68c commit2dd079c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"laravel-frontend-file-manager",
3-
"version":"3.0.15",
3+
"version":"3.0.16",
44
"description":"File manager for Laravel",
55
"keywords": [
66
"laravel",

‎src/components/manager/Thumbnail.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export default {
7171
if (this.auth) {
7272
GET.thumbnail(this.disk,this.file.path).then((response)=> {
7373
constmimeType=response.headers['content-type'].toLowerCase();
74-
constimgBase64=Buffer.from(response.data,'binary').toString('base64');
74+
//const imgBase64 = Buffer.from(response.data, 'binary').toString('base64');
7575
7676
this.src=`data:${mimeType};base64,${response.data}`;
7777
});

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp