mirror of
				https://git.unlock-music.dev/um/web.git
				synced 2025-11-04 15:53:29 +08:00 
			
		
		
		
	Fix No Status Error
This commit is contained in:
		
							parent
							
								
									2266ca2cf1
								
							
						
					
					
						commit
						0ca830e896
					
				@ -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>
 | 
				
			||||||
 | 
				
			|||||||
@ -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(" & "),
 | 
				
			||||||
 | 
				
			|||||||
@ -81,6 +81,7 @@ async function Decrypt(file) {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
    // 返回
 | 
					    // 返回
 | 
				
			||||||
    return {
 | 
					    return {
 | 
				
			||||||
 | 
					        status:true,
 | 
				
			||||||
        filename: filename,
 | 
					        filename: filename,
 | 
				
			||||||
        title: title,
 | 
					        title: title,
 | 
				
			||||||
        artist: artist,
 | 
					        artist: artist,
 | 
				
			||||||
 | 
				
			|||||||
@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user