ccf 4 gadi atpakaļ
vecāks
revīzija
caaab24d82
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3 1
      pages/frontend/name_cert/index.vue

+ 3 - 1
pages/frontend/name_cert/index.vue

@@ -310,7 +310,7 @@ export default {
                 is_face_check:0,
                 from_type: 1
             });
-          this.loading=false;
+           this.loading=false;
             if (Number(res.status) !== 1) {
                 this.$message.error(res.info);
                 return;
@@ -356,6 +356,7 @@ export default {
             });
         },
         startTimer() {
+           this.loading=true;
             // 启动定时器查询
             if (this.timer) {
                 clearInterval(this.timer);
@@ -372,6 +373,7 @@ export default {
                     type
                 } = res.data.type;
                 if (type == 1 || type == 4) {
+                    this.loading=false;
                     // 关闭弹层
                     this.centerDialogVisible = false;
                     clearInterval(this.timer);