瀏覽代碼

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'){