fix语言包为null

This commit is contained in:
ciniao 2023-12-14 16:07:36 +08:00
parent e0c0d03f4e
commit 02798b1c1d

View File

@ -121,7 +121,7 @@ function setWs(server: WsServer<ServiceType>) {
//判断是否登录 //判断是否登录
if (!['user/Ping', 'user/Login'].includes(call.service.name) && !call.conn.uid) { if (!['user/Ping', 'user/Login'].includes(call.service.name) && !call.conn.uid) {
call.error(globalThis.lng.qingxiandenglu); call.error("qingxiandenglu");
return null; return null;
} }