|
@ -183,7 +183,7 @@ onMounted(() => { |
|
|
wsClient.connect(); |
|
|
wsClient.connect(); |
|
|
getIngTask().then((res:any) => { |
|
|
getIngTask().then((res:any) => { |
|
|
if(!res.success) return; |
|
|
if(!res.success) return; |
|
|
taskId.value = res.data.id; |
|
|
|
|
|
|
|
|
taskId.value = res.data?.id; |
|
|
}); |
|
|
}); |
|
|
onUnmounted(() => { |
|
|
onUnmounted(() => { |
|
|
subscription.unsubscribe(); |
|
|
subscription.unsubscribe(); |
|
|