Przeglądaj źródła

还原初始搜索和排序条件

Michael Wang 4 lat temu
rodzic
commit
4864bb2fc6
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      src/features/mark/MarkHistory.vue

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

@@ -144,6 +144,10 @@ export default defineComponent({
       } else {
         replaceCurrentTask(store.tasks[0]);
         store.historyTasks.splice(0);
+        secretNumberInput.value = "";
+        currentPage.value = 1;
+        order.value = "markerTime";
+        sort.value = "DESC";
       }
     };
     watch(() => store.historyOpen, currentTaskChange);