Преглед изворни кода

Revert "bug5781"

This reverts commit 6299dab7bfbf34eba57034348ae755ed7e79145e.
zhangxc пре 4 година
родитељ
комит
7e268ed09f
1 измењених фајлова са 1 додато и 1 уклоњено
  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();
   });
   //右侧页面切换
-  $("body").on("click",".page",function(){
+  $(document).on("click",".page",function(){
     $(".menu .active,.menu-mini .active").removeClass('active');
     const code=$(this).attr("code");
     if(code === 'YH-KZT'||code === 'YH-KZTKS'){