baoyubo vor 1 Woche
Ursprung
Commit
190d023b7c
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      routers/api/dutyManagement/contact.py

+ 1 - 1
routers/api/dutyManagement/contact.py

@@ -55,7 +55,7 @@ async def get_dict_data_by_type(
                 children_depts =  parent_id_get_contact_dept_list(db,dept.id)
                 if len(children_depts) > 0:
                     dept_data['children'] = build_dept_tree(children_depts, dept)
-                    dept_data['dept_data'] = True
+                    dept_data['isShowSelect'] = True
                 dept_tree.append(dept_data)  # 将当前菜单数据添加到菜单树列表
             return dept_tree