diff --git a/miniprogram/subpages/home/pages/smallGridPage/smallGridPage.js b/miniprogram/subpages/home/pages/smallGridPage/smallGridPage.js index 54744a8..c0836a2 100644 --- a/miniprogram/subpages/home/pages/smallGridPage/smallGridPage.js +++ b/miniprogram/subpages/home/pages/smallGridPage/smallGridPage.js @@ -41,7 +41,7 @@ Page({ itemC.children.forEach(itemK=>{ if(itemK.children){ itemK.children.forEach(itemH=>{ - smallGrid.push({label:itemH.label,value:itemK.value,pid:itemK.value,type:'smallGrid'}) + smallGrid.push({label:itemH.label,value:itemH.value,pid:itemK.value,type:'smallGrid'}) }) } }) diff --git a/miniprogram/utils/partApi.js b/miniprogram/utils/partApi.js index 9639ac0..0dcc9ee 100644 --- a/miniprogram/utils/partApi.js +++ b/miniprogram/utils/partApi.js @@ -31,7 +31,7 @@ function getByLoginUser () { } //街道tree function getDeptTree () { - return fly.get(`admin/sys/gridstyle/getListByDeptId?deptId=1202767822075551745`) + return fly.get(`admin/dept/getAllDeptTree`) //带有微网格 // return fly.get(`sys/dept/party/getDeptTree`) } \ No newline at end of file