|
@@ -54,6 +54,7 @@ export default {
|
|
|
}); //选择桶
|
|
|
var _this = this;
|
|
|
_this.progress?_this.progress.show = true:'';
|
|
|
+ _this.progress?_this.progress.value = 0:'';
|
|
|
if (file) {
|
|
|
var params = {
|
|
|
Key:
|
|
@@ -96,10 +97,6 @@ export default {
|
|
|
}
|
|
|
size = Math.floor(size);
|
|
|
_this.$emit('getFile',{fileName:file.name,size:`${size}${unit}`,uploadTime:getNowDate(),url:data.Location})
|
|
|
- if(_this.progress&&_this.progress.value==100){
|
|
|
- _this.progress?_this.progress.show = false:"";
|
|
|
- _this.progress?_this.progress.value=0:"";
|
|
|
- }
|
|
|
}
|
|
|
});
|
|
|
}
|