mirror of
https://github.com/usememos/memos.git
synced 2025-11-12 02:11:36 +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) => ({
|
setState((prevState) => ({
|
||||||
...prevState,
|
...prevState,
|
||||||
memoVisibility: memo.visibility,
|
memoVisibility: memo.visibility,
|
||||||
|
resourceList: memo.resources,
|
||||||
|
relationList: memo.relations,
|
||||||
}));
|
}));
|
||||||
if (!contentCache) {
|
if (!contentCache) {
|
||||||
editorRef.current?.setContent(memo.content ?? "");
|
editorRef.current?.setContent(memo.content ?? "");
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue