mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-04 16:49:42 +08:00
This commit is contained in:
parent
c03fba9ff7
commit
f0f8ab895f
@ -411,6 +411,7 @@
|
||||
}
|
||||
}
|
||||
const exitSiYuan = () => {
|
||||
try {
|
||||
fetch('/api/system/exit', {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({force: false}),
|
||||
@ -436,7 +437,12 @@
|
||||
} else {
|
||||
exitApp()
|
||||
}
|
||||
}).catch(() =>{
|
||||
exitApp()
|
||||
})
|
||||
} catch (e) {
|
||||
exitApp()
|
||||
}
|
||||
}
|
||||
|
||||
const inputElement = document.getElementById('authCode')
|
||||
|
Loading…
Reference in New Issue
Block a user