ronds-metadata 1.2.62 → 1.2.63
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/es/utils.js +2 -2
- package/package.json +1 -1
package/es/utils.js
CHANGED
|
@@ -6,7 +6,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
|
6
6
|
/*
|
|
7
7
|
* @Author: wangxian
|
|
8
8
|
* @Date: 2021-09-18 14:15:04
|
|
9
|
-
* @LastEditTime: 2023-06-08
|
|
9
|
+
* @LastEditTime: 2023-06-08 14:13:14
|
|
10
10
|
*/
|
|
11
11
|
import saveAs from 'file-saver';
|
|
12
12
|
import { asBlob } from 'html-docx-js-typescript';
|
|
@@ -204,7 +204,7 @@ function _handleMd2Doc() {
|
|
|
204
204
|
orientation: 'portrait'
|
|
205
205
|
};
|
|
206
206
|
_context.next = 8;
|
|
207
|
-
return asBlob(
|
|
207
|
+
return asBlob(commonHtml, opt);
|
|
208
208
|
case 8:
|
|
209
209
|
blob = _context.sent;
|
|
210
210
|
saveAs(blob, "".concat(fileName, ".doc"));
|