Fix: Bug fixed (#12345)

### What problem does this PR solve?

Fix: Bug fixed
- Memory type multilingual display
- Name modification is prohibited in Data source
- Jump directly to Metadata settings

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2025-12-31 10:43:57 +08:00
committed by GitHub
parent 7dac269429
commit ae4692a845
7 changed files with 61 additions and 14 deletions

View File

@ -7,8 +7,8 @@ export const useHandleMenuClick = () => {
const { id } = useParams();
const handleMenuClick = useCallback(
(key: Routes) => () => {
navigate(`${Routes.DatasetBase}${key}/${id}`);
(key: Routes, data?: any) => () => {
navigate(`${Routes.DatasetBase}${key}/${id}`, { state: data });
},
[id, navigate],
);