Commit 5b56c300 by aonoa Committed by GitHub

perf: correct cloneDeep spelling errors [skip ci] (#4099)

Signed-off-by: aonoa <1991849113@qq.com>
1 parent ca164b0f
......@@ -9,4 +9,4 @@ export * from './tree';
export * from './unique';
export * from './update-css-variables';
export * from './window';
export { default as cloneDepp } from 'lodash.clonedeep';
export { default as cloneDeep } from 'lodash.clonedeep';
......@@ -5,7 +5,7 @@ import type {
} from '@vben/types';
import {
cloneDepp,
cloneDeep,
generateMenus,
generateRoutesByBackend,
generateRoutesByFrontend,
......@@ -18,7 +18,7 @@ async function generateAccessible(
) {
const { router } = options;
options.routes = cloneDepp(options.routes);
options.routes = cloneDeep(options.routes);
// 生成路由
const accessibleRoutes = await generateRoutes(mode, options);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!