Fix No Status Error

This commit is contained in:
MengYX 2019-11-23 19:11:40 +08:00
parent 2266ca2cf1
commit 0ca830e896
No known key found for this signature in database
GPG Key ID: E63F9C7303E8F604
4 changed files with 9 additions and 2 deletions

View File

@ -26,9 +26,13 @@
<el-table :data="tableData" style="width: 100%">
<el-table-column label="图片">
<el-table-column label="封面">
<template slot-scope="scope">
<el-image :src="scope.row.picture" style="width: 100px; height: 100px"></el-image>
<el-image :src="scope.row.picture" style="width: 100px; height: 100px">
<div class="image-slot el-image__error" slot="error">
暂无封面
</div>
</el-image>
</template>
</el-table-column>
<el-table-column label="歌曲" sortable>

View File

@ -170,6 +170,7 @@ async function Decrypt(file) {
const musicUrl = URL.createObjectURL(musicData);
const filename = artists.join(" & ") + " - " + musicMeta.musicName + "." + musicMeta.format;
return {
status: true,
filename: filename,
title: musicMeta.musicName,
artist: artists.join(" & "),

View File

@ -81,6 +81,7 @@ async function Decrypt(file) {
}
// 返回
return {
status:true,
filename: filename,
title: title,
artist: artist,

View File

@ -32,6 +32,7 @@ async function Decrypt(file) {
const filename = artist + " - " + title + "." + filename_ext;
return {
status:true,
filename: filename,
title: title,
artist: artist,