SanHQin 1 개월 전
부모
커밋
594e3a6b73

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/report.html


+ 1 - 0
dist/static/css/chunk-18ea3bfa.3fe5060b.css

@@ -0,0 +1 @@
+.navTitle[data-v-c30a4cbe]{font-size:.42667rem;color:#fff}.home-container[data-v-c30a4cbe]{height:100vh;overflow:hidden}.home-container .step_box[data-v-c30a4cbe]{margin-top:1.5rem;width:100%;height:calc(100vh - 2.8rem);overflow:auto;position:relative}.home-container .edit_top[data-v-c30a4cbe]{width:100%;margin:0 auto}.home-container .edit_top[data-v-c30a4cbe] .el-button{width:100%;height:1.33333rem;text-align:center;font-size:.42667rem}

+ 0 - 1
dist/static/css/chunk-656e2c56.51fe60e6.css

@@ -1 +0,0 @@
-.navTitle[data-v-4e63525e]{font-size:.42667rem;color:#fff}.home-container[data-v-4e63525e]{height:100vh;overflow:hidden}.home-container .step_box[data-v-4e63525e]{margin-top:1.5rem;width:100%;height:calc(100vh - 2.8rem);overflow:auto;position:relative}.home-container .edit_top[data-v-4e63525e]{width:100%;margin:0 auto}.home-container .edit_top[data-v-4e63525e] .el-button{width:100%;height:1.33333rem;text-align:center;font-size:.42667rem}

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/app.8e5220e6.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/chunk-18ea3bfa.c35fe672.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/chunk-656e2c56.f1994e26.js


+ 9 - 1
src/views/testDetail/index.vue

@@ -53,7 +53,8 @@ export default {
       brief: '',
       look: '',
       cJson: [],
-      cJson2: []
+      cJson2: [],
+      loading:false
     }
   },
   computed: {
@@ -416,13 +417,18 @@ export default {
       ]
       // console.log(this.tid)
       // return console.log('publish发布', params)
+
+      if(this.loading)return;
+      this.loading = true;
       if (this.tid) {
         addTestWorks2(params)
           .then(res => {
             this.$message.success('提交成功')
+            this.loading = false;
             this.back()
           })
           .catch(err => {
+            this.loading = false;
             console.error(err)
           })
       } else {
@@ -432,9 +438,11 @@ export default {
           .then(res => {
             this.$message.success('提交成功')
             this.back()
+            this.loading = false;
           })
           .catch(err => {
             console.error(err)
+            this.loading = false;
           })
       }
     }

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.