|
|
@@ -149,7 +149,7 @@ const WordMergePage: React.FC = () => {
|
|
|
baseZip.file('word/document.xml', mergedContent);
|
|
|
|
|
|
// 生成合并后的Word文档
|
|
|
- const mergedDoc = await baseDocx.generateAsync({
|
|
|
+ const mergedDoc = await baseZip.generateAsync({
|
|
|
type: 'blob',
|
|
|
mimeType: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
|
compression: 'DEFLATE',
|