fix: patch memo with resource list (#328)

fix: 修改memo时添加图片不显示
This commit is contained in:
Zeng1998
2022-10-21 22:16:05 +08:00
committed by GitHub
parent 2a4fc7dcc3
commit fc5d5cf231
4 changed files with 19 additions and 0 deletions

View File

@ -164,6 +164,7 @@ const MemoEditor: React.FC = () => {
await memoService.patchMemo({
id: prevMemo.id,
content,
resourceIdList: state.resourceList.map((resource) => resource.id),
});
}
editorStateService.clearEditMemo();