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

@@ -10,12 +10,11 @@ import { h } from 'vue';
import { useAccess } from '@vben/access';
import { IconifyIcon } from '@vben/icons';
import { $t } from '@vben/locales';
import { getRangePickerDefaultProps } from '@vben/utils';
import { getRangePickerDefaultProps, handleTree } from '@vben/utils';
import { getDataSourceConfigList } from '#/api/infra/data-source-config';
import { getMenuList } from '#/api/system/menu';
import { DICT_TYPE, getDictOptions } from '#/utils/dict';
import { handleTree } from '#/utils/tree';
const { hasAccessByCodes } = useAccess();