This commit is contained in:
Fine 2022-08-23 10:42:21 +08:00
parent a814c4108c
commit dbf9c36ca0

View File

@ -105,7 +105,7 @@ const appStore = useAppStoreWithOut();
const viewDetail = ref<boolean>(false); const viewDetail = ref<boolean>(false);
/*global Nullable */ /*global Nullable */
const intervalFn = ref<Nullable<any>>(null); const intervalFn = ref<Nullable<any>>(null);
const inProcess = ref<boolean>(false); const inProcess = ref<boolean>(true);
fetchTasks(); fetchTasks();
async function changeTask(item: EBPFTaskList) { async function changeTask(item: EBPFTaskList) {
@ -186,7 +186,7 @@ async function enableInterval() {
if (networkProfilingStore.aliveNetwork) { if (networkProfilingStore.aliveNetwork) {
intervalFn.value = setInterval(() => { intervalFn.value = setInterval(() => {
getTopology(); getTopology();
}, 180000); }, 60000);
} }
} }
async function fetchTasks() { async function fetchTasks() {