This commit is contained in:
dap
2024-09-11 09:38:40 +08:00
307 changed files with 7263 additions and 3017 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@vben/utils",
"version": "5.2.2",
"version": "5.3.0-beta.2",
"homepage": "https://github.com/vbenjs/vue-vben-admin",
"bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
"repository": {

View File

@@ -1,7 +1,7 @@
import type { ExRouteRecordRaw, MenuRecordRaw } from '@vben-core/typings';
import type { Router, RouteRecordRaw } from 'vue-router';
import { filterTree, mapTree } from '@vben-core/shared';
import { filterTree, mapTree } from '@vben-core/shared/utils';
/**
* 根据 routes 生成菜单列表

View File

@@ -5,7 +5,7 @@ import type {
} from '@vben-core/typings';
import type { RouteRecordRaw } from 'vue-router';
import { mapTree } from '@vben-core/shared';
import { mapTree } from '@vben-core/shared/utils';
/**
* 动态生成路由 - 后端方式

View File

@@ -1,6 +1,6 @@
import type { RouteRecordRaw } from 'vue-router';
import { filterTree, mapTree } from '@vben-core/shared';
import { filterTree, mapTree } from '@vben-core/shared/utils';
/**
* 动态生成路由 - 前端方式