aq-fe-framework 0.1.22 → 0.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/utils/index.mjs +1 -1
- package/package.json +1 -1
package/dist/utils/index.mjs
CHANGED
|
@@ -163,7 +163,7 @@ async function utils_file_docxtemplaterDownload({
|
|
|
163
163
|
const zip = new PizZip(arrayBuffer);
|
|
164
164
|
const doc = new Docxtemplater(zip);
|
|
165
165
|
doc.render(data);
|
|
166
|
-
const buffer = doc.getZip().generate({ type: "
|
|
166
|
+
const buffer = doc.getZip().generate({ type: "blob" });
|
|
167
167
|
saveAs2(buffer, fileName || "output.docx");
|
|
168
168
|
}
|
|
169
169
|
|