Vanessa 2022-06-11 11:58:53 +08:00
parent c03fba9ff7
commit f0f8ab895f

View File

@ -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')