|
|
@ -208,6 +208,7 @@ onMounted(async () => { |
|
|
|
socket.on('progress', async (d: Record<string, any>) => { |
|
|
|
socket.on('progress', async (d: Record<string, any>) => { |
|
|
|
progress.value.push(d) |
|
|
|
progress.value.push(d) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// FIXME: this doesn't work |
|
|
|
nextTick(() => { |
|
|
|
nextTick(() => { |
|
|
|
logRef.value.scrollTop = logRef.value?.scrollHeight |
|
|
|
logRef.value.scrollTop = logRef.value?.scrollHeight |
|
|
|
}) |
|
|
|
}) |
|
|
|