luolei 4 年之前
父節點
當前提交
8d456bb261
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/js/index.js

+ 1 - 1
src/js/index.js

@@ -42,7 +42,6 @@ $(function(){
     getMenu()
   }
   $(".header .title .qiehuan").click(function(){
-    getMenu();
     let txt = $(this).find('i').html()
     if(txt == '切换运行质控'){
       $(this).find('i').html('切换病案质控')
@@ -54,6 +53,7 @@ $(function(){
       setCookie("isPlacefile",1)
     }
     $('#contentIframe').attr('src', $('#contentIframe').attr('src'));
+    getMenu();
   })
   $(".header .title .qiehuan").mouseenter(function(){
     $(this).parent().find('img').attr('src',require('../images/qiehuan1.png'))