This commit is contained in:
2020-11-30 16:31:05 +08:00
parent bde66631fc
commit 66279db25d
4 changed files with 13 additions and 11 deletions

1
dist/js/iminit.js vendored
View File

@@ -113,6 +113,7 @@ function formatDateTime (inputTime) {
});
tim.on(TIM.EVENT.KICKED_OUT, function(event) {
console.log("用户下线")
// 收到被踢下线通知
// event.name - TIM.EVENT.KICKED_OUT
// event.data.type - 被踢下线的原因,例如: