|
@@ -116,6 +116,7 @@ function mount() {
|
|
|
};
|
|
|
//compressed压缩图;thumbnail缩略图,hls转码视频,cover封面
|
|
|
Vue.prototype.getSpecifiedImage = (item, type = 'thumbnail') => {
|
|
|
+ if (!item) return "";
|
|
|
let v = item.subfiles.find(v => v.type == type);
|
|
|
return v ? v.url : item.url;
|
|
|
}
|