diff --git a/src/views/graphite/index.vue b/src/views/graphite/index.vue index 68fb5d0..c11af2d 100644 --- a/src/views/graphite/index.vue +++ b/src/views/graphite/index.vue @@ -181,6 +181,10 @@ onMounted(() => { } }); wsClient.connect(); + getIngTask().then((res:any) => { + if(!res.success) return; + taskId.value = res.data.id; + }); onUnmounted(() => { subscription.unsubscribe(); });