退出页面时自动断开链接
This commit is contained in:
parent
dd72766fb8
commit
b720bf4b24
|
@ -55,6 +55,10 @@ async function disconnect() {
|
|||
publishing.status = false
|
||||
}
|
||||
|
||||
onUnmounted(() => {
|
||||
disconnect()
|
||||
})
|
||||
|
||||
async function publish() {
|
||||
let jsonModule: DataLibContent
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue
Block a user