From 30de548633dbd5d5867c5143aff0d5bd43e6f46c Mon Sep 17 00:00:00 2001 From: guoapeng Date: Wed, 26 Feb 2025 17:16:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=8E=B7=E5=8F=96=E6=AD=A3=E5=9C=A8?= =?UTF-8?q?=E8=BF=9B=E8=A1=8C=E4=B8=AD=E7=9A=84=E5=AE=9E=E9=AA=8C1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/graphite/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/graphite/index.vue b/src/views/graphite/index.vue index c11af2d..d218507 100644 --- a/src/views/graphite/index.vue +++ b/src/views/graphite/index.vue @@ -183,7 +183,7 @@ onMounted(() => { wsClient.connect(); getIngTask().then((res:any) => { if(!res.success) return; - taskId.value = res.data.id; + taskId.value = res.data?.id; }); onUnmounted(() => { subscription.unsubscribe();