diff --git a/packages/core/client/src/schema-component/antd/menu/Menu.tsx b/packages/core/client/src/schema-component/antd/menu/Menu.tsx
index 1e8d7fb4f..f760e9424 100644
--- a/packages/core/client/src/schema-component/antd/menu/Menu.tsx
+++ b/packages/core/client/src/schema-component/antd/menu/Menu.tsx
@@ -8,6 +8,7 @@ import {
useField,
useFieldSchema,
} from '@formily/react';
+import { uid } from '@formily/shared';
import { error } from '@nocobase/utils/client';
import { Menu as AntdMenu, MenuProps } from 'antd';
import React, { createContext, useContext, useEffect, useMemo, useState } from 'react';
@@ -273,7 +274,7 @@ const SideMenu = ({
const items = useMemo(() => {
const result = getMenuItems(() => {
- return ;
+ return ;
});
if (designable) {