#1294 修复visible为0公告不显示

Merged
zhoupzh merged 1 commits from fix-719 into V20220110 2 years ago
  1. +1
    -1
      templates/base/head.tmpl
  2. +1
    -1
      templates/base/head_fluid.tmpl
  3. +1
    -1
      templates/base/head_pro.tmpl

+ 1
- 1
templates/base/head.tmpl View File

@@ -230,7 +230,7 @@ var _hmt = _hmt || [];
}else{
isNewNotice=false;
}
if ("{{.notice.Visible}}"){
if (JSON.parse("{{.notice.Visible}}")){
if(isNewNotice){
document.getElementById("notic_content").style.display='block'
}else{


+ 1
- 1
templates/base/head_fluid.tmpl View File

@@ -231,7 +231,7 @@ var _hmt = _hmt || [];
}else{
isNewNotice=false;
}
if ("{{.notice.Visible}}"){
if (JSON.parse("{{.notice.Visible}}")){
if(isNewNotice){
document.getElementById("notic_content").style.display='block'
}else{


+ 1
- 1
templates/base/head_pro.tmpl View File

@@ -232,7 +232,7 @@ var _hmt = _hmt || [];
}else{
isNewNotice=false;
}
if ("{{.notice.Visible}}"){
if (JSON.parse("{{.notice.Visible}}")){
if(isNewNotice){
document.getElementById("notic_content").style.display='block'
}else{


Loading…
Cancel
Save