mirror of
https://github.com/usememos/memos.git
synced 2025-11-11 01:41:58 +08:00
chore: fix edit memo params
This commit is contained in:
parent
8b9455d784
commit
79c13c6f83
1 changed files with 2 additions and 0 deletions
|
|
@ -92,6 +92,8 @@ const MemoEditor = (props: Props) => {
|
|||
setState((prevState) => ({
|
||||
...prevState,
|
||||
memoVisibility: memo.visibility,
|
||||
resourceList: memo.resources,
|
||||
relationList: memo.relations,
|
||||
}));
|
||||
if (!contentCache) {
|
||||
editorRef.current?.setContent(memo.content ?? "");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue