refactor: tree.ts 使用@vben/utils替换
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -5,10 +5,9 @@ import type { OnActionClickFn } from '#/adapter/vxe-table';
|
||||
import type { Demo02CategoryApi } from '#/api/infra/demo/demo02';
|
||||
|
||||
import { useAccess } from '@vben/access';
|
||||
import { getRangePickerDefaultProps } from '@vben/utils';
|
||||
import { getRangePickerDefaultProps, handleTree } from '@vben/utils';
|
||||
|
||||
import { getDemo02CategoryList } from '#/api/infra/demo/demo02';
|
||||
import { handleTree } from '#/utils/tree';
|
||||
|
||||
const { hasAccessByCodes } = useAccess();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user