Ver Fonte

bug修改

zhangjie há 3 anos atrás
pai
commit
dfb53ec118
1 ficheiros alterados com 6 adições e 6 exclusões
  1. 6 6
      src/modules/mark/components/MarkAction.vue

+ 6 - 6
src/modules/mark/components/MarkAction.vue

@@ -411,9 +411,9 @@ export default {
       if (this.btnClicked) return;
       this.btnClicked = true;
 
-      // this.setT = setTimeout(() => {
-      //   this.btnClicked = false;
-      // }, 500);
+      this.setT = setTimeout(() => {
+        this.btnClicked = false;
+      }, 500);
 
       // 科组长改档 / 评卷同意改档:只使用selectedLevel
       this.$emit("on-leader-level", {
@@ -432,9 +432,9 @@ export default {
       if (this.btnClicked) return;
       this.btnClicked = true;
 
-      // this.setT = setTimeout(() => {
-      //   this.btnClicked = false;
-      // }, 500);
+      this.setT = setTimeout(() => {
+        this.btnClicked = false;
+      }, 500);
       // 评卷员打分
       this.$emit("on-select-score", score * 1);
     },