diff --git a/apps/web-antd/src/views/dept/data.ts b/apps/web-antd/src/views/dept/data.ts index af1e9b9..a4495ac 100644 --- a/apps/web-antd/src/views/dept/data.ts +++ b/apps/web-antd/src/views/dept/data.ts @@ -21,7 +21,7 @@ function transformToTreeData(data: any) { } // 使用示例 -getAllDeptTree(1).then((res) => { +getAllDeptTree(0).then((res) => { treeData.value = transformToTreeData(res); }); /** diff --git a/apps/web-antd/src/views/dept/list.vue b/apps/web-antd/src/views/dept/list.vue index 66eb3cf..ca3d1d7 100644 --- a/apps/web-antd/src/views/dept/list.vue +++ b/apps/web-antd/src/views/dept/list.vue @@ -105,7 +105,7 @@ const [Grid, gridApi] = useVbenVxeGrid({ proxyConfig: { ajax: { query: async (_params) => { - const res = await getAllDeptTree(1); + const res = await getAllDeptTree(0); return { items: res, }; diff --git a/apps/web-antd/src/views/ppt/index.vue b/apps/web-antd/src/views/ppt/index.vue index cbb605a..5c0eb3a 100644 --- a/apps/web-antd/src/views/ppt/index.vue +++ b/apps/web-antd/src/views/ppt/index.vue @@ -1,7 +1,5 @@