From 23169d687aaab7b1a4f7d0efdecfe2e66ccf6868 Mon Sep 17 00:00:00 2001 From: "tangshuangpku@hotmail.com" Date: Tue, 7 Jun 2016 16:53:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=96=B0=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/templates/base_AdminLTE.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/templates/base_AdminLTE.html b/web/templates/base_AdminLTE.html index be15c72..0aac86e 100644 --- a/web/templates/base_AdminLTE.html +++ b/web/templates/base_AdminLTE.html @@ -265,7 +265,7 @@ var notifies = data.data; var cnt = notifies.length; - $('#notificationIcon').empty(); + $('#notificationIcon').find('span').remove(); $('#notificationList').empty(); if(cnt != 0) { @@ -288,6 +288,7 @@ } $(document).ready(function(){ + $.ajax(ajaxCfg); var refresh = setInterval(function(){ $.ajax(ajaxCfg); }, 10000);