This commit is contained in:
那些花儿
2025-06-11 15:56:44 +08:00
parent 3dba9e3307
commit 6c31e32565
@@ -241,7 +241,7 @@
window.onunload = () => { window.onunload = () => {
const _gap_time = new Date().getTime() - _beforeUnload_time const _gap_time = new Date().getTime() - _beforeUnload_time
if (_gap_time <= 5) { if (_gap_time <= 5) {
this.ws.send({ this.send({
room: "${@auth.getPrincipalProperty('loginname')}:${@auth.getSessionId()}", room: "${@auth.getPrincipalProperty('loginname')}:${@auth.getSessionId()}",
action: "left" action: "left"
}) })