sa2kit 1.6.106 → 1.6.112
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 +9 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -9
- package/dist/index.mjs.map +1 -1
- package/dist/showmasterpiece/index.js +9 -9
- package/dist/showmasterpiece/index.js.map +1 -1
- package/dist/showmasterpiece/index.mjs +9 -9
- package/dist/showmasterpiece/index.mjs.map +1 -1
- package/dist/showmasterpiece/ui/web/index.js +9 -9
- package/dist/showmasterpiece/ui/web/index.js.map +1 -1
- package/dist/showmasterpiece/ui/web/index.mjs +9 -9
- package/dist/showmasterpiece/ui/web/index.mjs.map +1 -1
- package/dist/showmasterpiece/web/index.js +9 -9
- package/dist/showmasterpiece/web/index.js.map +1 -1
- package/dist/showmasterpiece/web/index.mjs +9 -9
- package/dist/showmasterpiece/web/index.mjs.map +1 -1
- package/dist/universalExport/index.js +5 -5
- package/dist/universalExport/index.js.map +1 -1
- package/dist/universalExport/index.mjs +5 -5
- package/dist/universalExport/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -418,11 +418,8 @@ 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?.id) {
|
|
424
|
-
requestBody.configId = request.configId.id;
|
|
425
|
-
}
|
|
426
423
|
}
|
|
427
424
|
if (isDataArray) {
|
|
428
425
|
requestBody.data = request.dataSource;
|
|
@@ -569,7 +566,10 @@ var UniversalExportClient = class {
|
|
|
569
566
|
* 转换API返回的导出结果
|
|
570
567
|
*/
|
|
571
568
|
transformExportResultFromAPI(apiResult) {
|
|
572
|
-
const fileBlob = this.createFileBlobFromBase64(
|
|
569
|
+
const fileBlob = this.createFileBlobFromBase64(
|
|
570
|
+
apiResult.fileData ?? apiResult.fileBlob,
|
|
571
|
+
apiResult.fileName
|
|
572
|
+
);
|
|
573
573
|
return {
|
|
574
574
|
exportId: apiResult.exportId,
|
|
575
575
|
fileName: apiResult.fileName,
|