瀏覽代碼

feat(records): change

gemercheung 1 年之前
父節點
當前提交
686c6ca2d6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/app/map/company-select/organization.ts

+ 1 - 1
src/app/map/company-select/organization.ts

@@ -28,7 +28,7 @@ export type Organization = {
 };
 
 export const getOrganizationTree = async (type?: string) =>
-  (await axios.get<Organization[]>(getTreeselect, { headers: { share: 1 }, params: { type ,ingoreRes: true } })).data;
+  (await axios.get<Organization[]>(getTreeselect, { headers: { share: 1 }, params: { type, ingoreRes: true, share: 1, } })).data;
 
 export const addOrganization = async (
   dept: Omit<Organization, "id">,