|
@@ -272,6 +272,7 @@
|
|
this.stopFlag = true;//停止上传标志打开
|
|
this.stopFlag = true;//停止上传标志打开
|
|
if(this.uploadStatus == 1){
|
|
if(this.uploadStatus == 1){
|
|
this.cancelTokenSource.cancel('上传已取消');//通知取消上传
|
|
this.cancelTokenSource.cancel('上传已取消');//通知取消上传
|
|
|
|
+ alert("上传取消")
|
|
}
|
|
}
|
|
else if(this.uploadStatus==2 || this.uploadStatus==3){//绿幕抠图中 或者已经完成
|
|
else if(this.uploadStatus==2 || this.uploadStatus==3){//绿幕抠图中 或者已经完成
|
|
let data = {
|
|
let data = {
|
|
@@ -471,6 +472,10 @@
|
|
},
|
|
},
|
|
|
|
|
|
showMask(){
|
|
showMask(){
|
|
|
|
+ //上传过程中,不允许再次上传
|
|
|
|
+ if(this.uploadStatus==1 || this.uploadStatus == 2){
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
this.showPersonView = true;
|
|
this.showPersonView = true;
|
|
console.warn("***showMask***",this.showPersonView)
|
|
console.warn("***showMask***",this.showPersonView)
|
|
},
|
|
},
|