|
@@ -58,7 +58,11 @@ export class VideoItem {
|
|
|
this.videoSize = videoSize;
|
|
this.videoSize = videoSize;
|
|
|
this.cTime = cTime;
|
|
this.cTime = cTime;
|
|
|
if(StrUtil.isNotEmpty(this.filePath)&&this.type===CommonConstants.TYPE_LOCAL){
|
|
if(StrUtil.isNotEmpty(this.filePath)&&this.type===CommonConstants.TYPE_LOCAL){
|
|
|
- this.parentPath = FileUtil.getParentPath(this.filePath);
|
|
|
|
|
|
|
+ try {
|
|
|
|
|
+ this.parentPath = FileUtil.getParentPath(this.filePath);
|
|
|
|
|
+ }catch (e) {
|
|
|
|
|
+ this.parentPath=''
|
|
|
|
|
+ }
|
|
|
}else{
|
|
}else{
|
|
|
this.parentPath = ''
|
|
this.parentPath = ''
|
|
|
}
|
|
}
|