lilei hace 3 años
padre
commit
c32bbc7904
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/views/common/dingDepartUser.js

+ 2 - 2
src/views/common/dingDepartUser.js

@@ -69,7 +69,7 @@ const DingDepartUser = {
         if(type == 'bm'){
           const node = {
             title: item.name,
-            id:'bm-'+item.deptId,
+            id:item.deptId,
             value: item.deptId,
             pId: item.parentId,
             autoAddUser: item.autoAddUser,
@@ -84,7 +84,7 @@ const DingDepartUser = {
         }else{
           ret.push({
             title: item.name,
-            id:'yg-'+item.userid,
+            id: item.userid,
             value: item.userid,
             pId: item.parentId,
             avatar: item.avatar,