1
0
forked from um/web

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 :data="tableData" style="width: 100%">
<el-table-column label="图片"> <el-table-column label="封面">
<template slot-scope="scope"> <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> </template>
</el-table-column> </el-table-column>
<el-table-column label="歌曲" sortable> <el-table-column label="歌曲" sortable>

View File

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

View File

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

View File

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