ソースを参照

Merge branch 'bug0718' into test

1178232204@qq.com 3 年 前
コミット
e86d9d52d5
1 ファイル変更3 行追加11 行削除
  1. 3 11
      src/js/index.js

+ 3 - 11
src/js/index.js

@@ -108,19 +108,13 @@ $(function () {
     $('.subtitle').html('AI运行质控平台')
     getMenu()
     getAuditNumber()
-    if (getCookie('checkAuth') == '5') {
-      getNewsCount()
-    }
-
-
+    getNewsCount()
   } else if (isPlacefile == 1) {
     $(this).find('.qiehuan i').html('切换运行质控')
     $('.subtitle').html('AI病案质控平台')
     getMenu()
     getAuditNumber()
-    if (getCookie('checkAuth') == '5') {
-      getNewsCount()
-    }
+    getNewsCount()
   }
   $(".header .title .qiehuan").click(function () {
     let txt = $(this).find('i').html()
@@ -136,9 +130,7 @@ $(function () {
     $('#contentIframe').attr('src', $('#contentIframe').attr('src'));
     getMenu();
     getAuditNumber()
-    if (getCookie('checkAuth') == '5') {
-      getNewsCount()
-    }
+    getNewsCount()
 
   })
   $(".header .title .qiehuan").mouseenter(function () {