baoyubo 1 hafta önce
ebeveyn
işleme
190d023b7c
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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