Browse Source

跳转判断

wyq 4 năm trước cách đây
mục cha
commit
6e714e6a1d
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/js/searchStaticList.js

+ 2 - 2
src/js/searchStaticList.js

@@ -120,9 +120,9 @@ function renderList(tabList){
         let name = $(this).attr('data-name')
         let type = $(this).attr('data-type')
         if(window.opener){
-            openNewWin(`./staticInfo.html?name=${name}&type=${type}`);
+            openNewWin(`./staticInfo.html?name=${name}&type=${type}&page=1`);
         }else{
-            window.open(`./staticInfo.html?name=${name}&type=${type}`);
+            window.open(`./staticInfo.html?name=${name}&type=${type}&page=1`);
         }
     })
     window.scrollTo(0, 0);