Browse Source

Fix No Status Error

20230320
MengYX 5 years ago
parent
commit
0ca830e896
No known key found for this signature in database GPG Key ID: E63F9C7303E8F604
  1. 8
      src/App.vue
  2. 1
      src/plugins/ncm.js
  3. 1
      src/plugins/qmc.js
  4. 1
      src/plugins/raw.js

8
src/App.vue

@ -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>

1
src/plugins/ncm.js

@ -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(" & "),

1
src/plugins/qmc.js

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

1
src/plugins/raw.js

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

Loading…
Cancel
Save