Prechádzať zdrojové kódy

翻页后加载第一条

Michael Wang 4 rokov pred
rodič
commit
8af0cf0a44

+ 1 - 0
src/features/arbitrate/MarkHistory.vue

@@ -122,6 +122,7 @@ export default defineComponent({
           return t;
         });
         store.historyTasks = data;
+        replaceCurrentTask(store.historyTasks[0]);
       }
     }
 

+ 1 - 0
src/features/library/inspect/MarkHistory.vue

@@ -120,6 +120,7 @@ export default defineComponent({
           return t;
         });
         store.historyTasks = data;
+        replaceCurrentTask(store.historyTasks[0]);
       }
     }
 

+ 1 - 0
src/features/library/quality/MarkHistory.vue

@@ -100,6 +100,7 @@ export default defineComponent({
           return t;
         });
         store.historyTasks = data;
+        replaceCurrentTask(store.historyTasks[0]);
       }
     }
 

+ 1 - 0
src/features/mark/MarkHistory.vue

@@ -145,6 +145,7 @@ export default defineComponent({
           return t;
         });
         store.historyTasks = data;
+        replaceCurrentTask(store.historyTasks[0]);
       }
     }
 

+ 1 - 0
src/features/student/inspect/MarkHistory.vue

@@ -120,6 +120,7 @@ export default defineComponent({
           return t;
         });
         store.historyTasks = data;
+        replaceCurrentTask(store.historyTasks[0]);
       }
     }