Explorar el Código

科室下拉bug

zhouna hace 3 años
padre
commit
30a79ef668
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
 }