From 7364bfd0cdf73674669dd89d39dc2db1e339e693 Mon Sep 17 00:00:00 2001 From: zouap Date: Wed, 29 Dec 2021 15:56:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- public/home/home.js | 3 +++ templates/base/head.tmpl | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/public/home/home.js b/public/home/home.js index 7f7884516..27f49b934 100644 --- a/public/home/home.js +++ b/public/home/home.js @@ -37,6 +37,9 @@ socket.onmessage = function (e) { } for(var i = 0; i < messageQueue.length;i++){ var record = messageQueue[i]; + if(record.Value != null){ + record = record.Value; + } var user = record.ActUser; var user1 = record["ActUser"] var uesr2 = record.get("ActUser") diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 96ed57e21..214125d26 100755 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -190,7 +190,7 @@ var _hmt = _hmt || []; {{if .PageIsHome}} {{end}} - +