Browse Source

科室下拉bug

zhouna 3 năm trước cách đây
mục cha
commit
30a79ef668
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/js/dept/uncorrectedCopyDept.js

+ 1 - 1
src/js/dept/uncorrectedCopyDept.js

@@ -55,7 +55,7 @@ $('.selectDept').append(`<img class="arrow" src=${iconDown} alt="下拉">`);
 let isPlacefile = getCookie('isPlacefile') || 1;
 setTitleList();
 listenScroll();
-let deptList = JSON.parse(getCookie('deptList')) || [];
+let deptList = JSON.parse(localStorage.getItem('deptList')) || [];
 if(from == 4){
   deptName=deptNameTemp=deptList[0].deptName
 }