sa2kit 1.6.106 → 1.6.111
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/index.js +11 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -7
- package/dist/index.mjs.map +1 -1
- package/dist/showmasterpiece/index.js +11 -7
- package/dist/showmasterpiece/index.js.map +1 -1
- package/dist/showmasterpiece/index.mjs +11 -7
- package/dist/showmasterpiece/index.mjs.map +1 -1
- package/dist/showmasterpiece/ui/web/index.js +11 -7
- package/dist/showmasterpiece/ui/web/index.js.map +1 -1
- package/dist/showmasterpiece/ui/web/index.mjs +11 -7
- package/dist/showmasterpiece/ui/web/index.mjs.map +1 -1
- package/dist/showmasterpiece/web/index.js +11 -7
- package/dist/showmasterpiece/web/index.js.map +1 -1
- package/dist/showmasterpiece/web/index.mjs +11 -7
- package/dist/showmasterpiece/web/index.mjs.map +1 -1
- package/dist/universalExport/index.js +6 -3
- package/dist/universalExport/index.js.map +1 -1
- package/dist/universalExport/index.mjs +6 -3
- package/dist/universalExport/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -418,9 +418,9 @@ var UniversalExportClient = class {
|
|
|
418
418
|
};
|
|
419
419
|
if (typeof request.configId === "string") {
|
|
420
420
|
requestBody.configId = request.configId;
|
|
421
|
-
} else {
|
|
421
|
+
} else if (request.configId && typeof request.configId === "object") {
|
|
422
422
|
requestBody.config = request.configId;
|
|
423
|
-
if (request.configId
|
|
423
|
+
if (request.configId.id) {
|
|
424
424
|
requestBody.configId = request.configId.id;
|
|
425
425
|
}
|
|
426
426
|
}
|
|
@@ -569,7 +569,10 @@ var UniversalExportClient = class {
|
|
|
569
569
|
* 转换API返回的导出结果
|
|
570
570
|
*/
|
|
571
571
|
transformExportResultFromAPI(apiResult) {
|
|
572
|
-
const fileBlob = this.createFileBlobFromBase64(
|
|
572
|
+
const fileBlob = this.createFileBlobFromBase64(
|
|
573
|
+
apiResult.fileData ?? apiResult.fileBlob,
|
|
574
|
+
apiResult.fileName
|
|
575
|
+
);
|
|
573
576
|
return {
|
|
574
577
|
exportId: apiResult.exportId,
|
|
575
578
|
fileName: apiResult.fileName,
|