From 8b08d83a3263cbc94d919dc67be6999e131b2c5c Mon Sep 17 00:00:00 2001 From: "273650669@qq.com" Date: Sun, 29 Oct 2017 12:36:31 +0800 Subject: [PATCH] fix bugs --- public/js/server/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/server/index.js b/public/js/server/index.js index 54198a4..4b178f6 100644 --- a/public/js/server/index.js +++ b/public/js/server/index.js @@ -149,7 +149,7 @@ layui.use(['layer', 'form', 'jquery'], function () { //创建聊天section insert_section(msg.uid); }else{ - if($(".chat-user").find("#2316602733").length == 0){ + if($(".chat-user").find("#"+msg.uid).length == 0){ insert_user_html(msg.uid,msg.name + '#'+ (uuids.length + 1)); //创建聊天section insert_section(msg.uid);