|
|
|
|
@ -316,7 +316,13 @@ export default {
|
|
|
|
|
'Content-Type': 'application/x-www-form-urlencoded'
|
|
|
|
|
}
|
|
|
|
|
}).then((response)=>{
|
|
|
|
|
this.percentage = Math.round((response.data.file_counts/this.selectionList.length)*100)
|
|
|
|
|
this.percentage = Math.round((response.data.file_counts/this.selectionList.length)*100);
|
|
|
|
|
|
|
|
|
|
if(this.percentage===100||this.percentage>100){
|
|
|
|
|
clearInterval(this.Interval);
|
|
|
|
|
this.Interval = null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}).catch(function (error) {
|
|
|
|
|
// 处理错误情况
|
|
|
|
|
console.log(error);
|
|
|
|
|
|