refactor: tree.ts 使用@vben/utils替换

This commit is contained in:
xingyu4j
2025-04-23 17:27:48 +08:00
parent ecf10c0539
commit dccb846bb0
11 changed files with 81 additions and 14 deletions

View File

@@ -4,11 +4,11 @@ import type { SystemDeptApi } from '#/api/system/dept';
import { onMounted, ref } from 'vue';
import { Search } from '@vben/icons';
import { handleTree } from '@vben/utils';
import { Input, Spin, Tree } from 'ant-design-vue';
import { getSimpleDeptList } from '#/api/system/dept';
import { handleTree } from '#/utils/tree';
const emit = defineEmits(['select']);
const deptList = ref<SystemDeptApi.Dept[]>([]); // 部门列表