luolei 4 years atrás
parent
commit
8d456bb261
1 changed files with 1 additions and 1 deletions
  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'))