@@ -190,8 +190,9 @@ async function getHistory() {
total.value = res?.totalCount || 0;
}
-const pageChange = () => {
- getHistory();
+const pageChange = async () => {
+ await getHistory();
+ setCurTask(0);
};
function updateTaskStatus(assignedSuspect: boolean) {
@@ -107,6 +107,13 @@ watch(
);
+watch(
+ () => dataCheckStore.curStudent,
+ () => {
+ getConfig();
+ }
+);
+
onMounted(() => {
getConfig();
});
@@ -245,8 +245,9 @@ async function getHistory() {