Sfoglia il codice sorgente

lint修改出的bug

xiatian 4 anni fa
parent
commit
c77d786d0c
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      src/modules/marking/views/TpScoreBoard.vue

+ 2 - 1
src/modules/marking/views/TpScoreBoard.vue

@@ -365,7 +365,8 @@ export default {
   watch: {
     resultItems: {
       immediate: false,
-      handler() {
+      handler(val) {
+        this.resultItemsData = JSON.parse(JSON.stringify(val));
         if (!this.isMouseMode) {
           //切换不同考试的试卷时,光标定位要在resultItems变化之后做
           this.initKeyBoardMode();