Commit 24900cd7 authored by 王曜嵚 Wang Yaoqin's avatar 王曜嵚 Wang Yaoqin

dev: 修复websocket关闭

parent 596c911c
......@@ -66,7 +66,7 @@ onMounted(() => {
})
onUnmounted(() => {
socket.close()
socket.removeListener('ChangeV1Status')
})
function handleOpenVscode() {
......
......@@ -87,7 +87,7 @@ onMounted(() => {
})
onUnmounted(() => {
socket.close()
socket.removeListener('changeV2Status')
})
function handleOpenVscode() {
window.open(window.location.protocol + '//' + window.location.hostname + ':' + useUserStore().port + '/vscode?folder=/var/logwire-backend', '_blank')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment