|
|
@@ -25,10 +25,12 @@
|
|
|
:format="format"></el-progress>
|
|
|
</div>
|
|
|
<imageAIVerifyErr
|
|
|
+ v-if="imageAIVerifyFlag"
|
|
|
:imageAIVerifyFlag="imageAIVerifyFlag"
|
|
|
:imageAIVerifyData="imageAIVerifyData"
|
|
|
@confirmUpload="confirmUpload"
|
|
|
- @uploadImg="uploadImg"></imageAIVerifyErr>
|
|
|
+ @uploadImgFun="uploadImg"
|
|
|
+ @close="close"></imageAIVerifyErr>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -201,8 +203,8 @@ export default {
|
|
|
this.progressFlag = true;
|
|
|
this.percentage = 10;
|
|
|
this.timeFlag = setInterval(() => {
|
|
|
- if (this.percentage == 90) clearInterval(this.timeFlag);
|
|
|
this.percentage = this.percentage + 10;
|
|
|
+ if (this.percentage == 90) clearInterval(this.timeFlag);
|
|
|
}, 1000);
|
|
|
},
|
|
|
format(percentage) {
|
|
|
@@ -250,6 +252,9 @@ export default {
|
|
|
confirmUpload(res) {
|
|
|
this.normalFlow(res);
|
|
|
},
|
|
|
+ close() {
|
|
|
+ this.imageAIVerifyFlag = false;
|
|
|
+ },
|
|
|
},
|
|
|
};
|
|
|
</script>
|