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

1
src/plugins/ncm.js

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

1
src/plugins/qmc.js

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

1
src/plugins/raw.js

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

Loading…
Cancel
Save