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