Fix: Memory-related bug fixes (#12238)

### What problem does this PR solve?

Fix: Memory-related bug fixes
- Forget memory button text
- Adjust memory storage interface
### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2025-12-26 15:56:41 +08:00
committed by GitHub
parent 3558a6c170
commit c4a66204f0
10 changed files with 56 additions and 34 deletions

View File

@ -34,7 +34,7 @@ const methods = {
} as const;
const memoryService = registerNextServer<keyof typeof methods>(methods);
export const updateMemoryById = (id: string, data: any) => {
return request.put(updateMemorySetting(id), { data });
return request.put(updateMemorySetting(id), { ...data });
};
export const getMemoryDetailById = (id: string, data: any) => {
return request.get(getMemoryDetail(id), { params: data });