sa2kit 1.6.105 → 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
|
@@ -412,9 +412,9 @@ var UniversalExportClient = class {
|
|
|
412
412
|
};
|
|
413
413
|
if (typeof request.configId === "string") {
|
|
414
414
|
requestBody.configId = request.configId;
|
|
415
|
-
} else {
|
|
415
|
+
} else if (request.configId && typeof request.configId === "object") {
|
|
416
416
|
requestBody.config = request.configId;
|
|
417
|
-
if (request.configId
|
|
417
|
+
if (request.configId.id) {
|
|
418
418
|
requestBody.configId = request.configId.id;
|
|
419
419
|
}
|
|
420
420
|
}
|
|
@@ -563,7 +563,10 @@ var UniversalExportClient = class {
|
|
|
563
563
|
* 转换API返回的导出结果
|
|
564
564
|
*/
|
|
565
565
|
transformExportResultFromAPI(apiResult) {
|
|
566
|
-
const fileBlob = this.createFileBlobFromBase64(
|
|
566
|
+
const fileBlob = this.createFileBlobFromBase64(
|
|
567
|
+
apiResult.fileData ?? apiResult.fileBlob,
|
|
568
|
+
apiResult.fileName
|
|
569
|
+
);
|
|
567
570
|
return {
|
|
568
571
|
exportId: apiResult.exportId,
|
|
569
572
|
fileName: apiResult.fileName,
|