Browse Source

[完善]完善mp3弹出框

master
邵佳豪 5 years ago
parent
commit
2377bc50b4
  1. 2
      src/app/ui/all-file/all-file.component.ts
  2. BIN
      src/assets/images/file.png

2
src/app/ui/all-file/all-file.component.ts

@ -248,7 +248,7 @@ export class AllFileComponent {
}else if(item.type == "mp3" || item.type == "MP3"&& !item.isDir){ }else if(item.type == "mp3" || item.type == "MP3"&& !item.isDir){
const dialogRef = this.dialog.open(ViewDetails, {//调用open方法打开对话框并且携带参数过去 const dialogRef = this.dialog.open(ViewDetails, {//调用open方法打开对话框并且携带参数过去
width: '380px', width: '400px',
height:'108px', height:'108px',
data: {url:item.key,type:"mp3"} data: {url:item.key,type:"mp3"}
}); });

BIN
src/assets/images/file.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Loading…
Cancel
Save