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;
           })
       }
     }

この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません