ソースを参照

Merge branch 'dev-majunjie' into dev

ccf 4 年 前
コミット
a5d3382ad3
1 ファイル変更4 行追加2 行削除
  1. 4 2
      pages/frontend/name_cert/index.vue

+ 4 - 2
pages/frontend/name_cert/index.vue

@@ -3,7 +3,7 @@
       marginTop: mainMarginTop,
       marginBottom: mobile ? '0px' : '30px !important'
     }">
-    <div class="name-cert-container" v-if="!mobile">
+    <div v-loading="loading" class="name-cert-container" v-if="!mobile">
         <!-- 待实名 -->
         <div class="name-cert-main">
             <div class="name-cert-title-area">
@@ -88,6 +88,7 @@ export default {
     data() {
         return {
             diploma_photo: "",
+            loading:false,
             baseUrl: "",
             mobile: false,
             isWeixinApp: true,
@@ -286,6 +287,7 @@ export default {
             this.$refs["modalForm"].resetFields();
         },
         async submit() {
+            this.loading=true;
             const {
                 cert_name,
                 cert_no,
@@ -308,7 +310,7 @@ export default {
                 is_face_check:0,
                 from_type: 1
             });
-
+           this.loading=false;
             if (Number(res.status) !== 1) {
                 this.$message.error(res.info);
                 return;