luolei 4 vuotta sitten
vanhempi
commit
c17c953a7a
1 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
  1. 4 4
      src/js/index.js

+ 4 - 4
src/js/index.js

@@ -36,20 +36,20 @@ $(function(){
     let txt = $(this).find('i').html()
     if(txt == '切换运行质控'){
       $(this).find('i').html('切换病案质控')
-      $(this).find('.subtitle').html('AI运行质控平台')
+      $('.subtitle').html('AI运行质控平台')
       setCookie("isPlacefile",0)
     }else{
       $(this).find('i').html('切换运行质控')
-      $(this).find('.subtitle').html('AI病案质控平台')
+      $('.subtitle').html('AI病案质控平台')
       setCookie("isPlacefile",1)
     }
     $('#contentIframe').attr('src', $('#contentIframe').attr('src'));
   })
   $(".header .title .qiehuan").mouseenter(function(){
-    $(this).find('img').attr('src',require('../images/qiehuan1.png'))
+    $(this).parent().find('img').attr('src',require('../images/qiehuan1.png'))
   })
   $(".header .title .qiehuan").mouseleave(function(){
-    $(this).find('img').attr('src',require('../images/qiehuan2.png'))
+    $(this).parent().find('img').attr('src',require('../images/qiehuan2.png'))
   })
 });
 //判断有无某一权限