From 74b6a71694e35f9b57e715c4012205d549e65d89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Wed, 27 May 2020 00:03:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A6=96=E9=A1=B5=E5=AF=BC?= =?UTF-8?q?=E8=88=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- erp_web/js/modules/sys/sysIndex.js | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/erp_web/js/modules/sys/sysIndex.js b/erp_web/js/modules/sys/sysIndex.js index 8349c2e0..51737918 100644 --- a/erp_web/js/modules/sys/sysIndex.js +++ b/erp_web/js/modules/sys/sysIndex.js @@ -421,21 +421,8 @@ $(function () { //广告循环 var loginName = sessionStorage.getItem("loginName"); if(loginName == "jsh") { - //根据时间戳决定展示aliyun还是tencent - function autoChangeTip() { - var timestamp=new Date().getTime(); - var checkShow = timestamp%2; - if(checkShow) { - $(".aliyun").show(); - $(".tencent").hide(); - } else { - $(".aliyun").hide(); - $(".tencent").show(); - } - } - setInterval(function () { - autoChangeTip(); - }, 10 * 1000); + $(".tencent").show(); + $(".aliyun").hide(); } //更新消息条数