Sfoglia il codice sorgente

Merge branch 'version1.4.1' into test

zhangxc 4 anni fa
parent
commit
740778af94
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/js/index.js

+ 1 - 1
src/js/index.js

@@ -141,7 +141,7 @@ $(".slide-hide").off("click").click(function(){
     e.stopPropagation();
   });
   //右侧页面切换
-  $(document).on("click",".page",function(){
+  $("body").on("click",".page",function(){
     $(".menu .active,.menu-mini .active").removeClass('active');
     const code=$(this).attr("code");
     if(code === 'YH-KZT'||code === 'YH-KZTKS'){