浏览代码

科室处理

1178232204@qq.com 3 年之前
父节点
当前提交
73b8e1f98c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/js/index.js

+ 1 - 0
src/js/index.js

@@ -444,6 +444,7 @@ function getOwnDept() {
     if (data.code == 0) {
       let result = data.data
       setCookie("deptList", JSON.stringify(result))
+      JSON.parse(localStorage.setItem('deptList',JSON.stringify(result)))
     }
   })
   // }