fix: 导出word时文献不更新,因为usecallback没有添加变量
This commit is contained in:
parent
da5cb4fac8
commit
01d3ffebf7
|
@ -60,7 +60,7 @@ const ExportDocx = ({ editor }: ParaIn) => {
|
|||
quillToWordConfig
|
||||
);
|
||||
saveAs(docAsBlob, "word-export.docx");
|
||||
}, [editor]);
|
||||
}, [editor, references]);
|
||||
|
||||
return (
|
||||
<ReduxProvider>
|
||||
|
|
Loading…
Reference in New Issue
Block a user