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
|
@@ -412,11 +412,8 @@ 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?.id) {
|
|
418
|
-
requestBody.configId = request.configId.id;
|
|
419
|
-
}
|
|
420
417
|
}
|
|
421
418
|
if (isDataArray) {
|
|
422
419
|
requestBody.data = request.dataSource;
|
|
@@ -563,7 +560,10 @@ var UniversalExportClient = class {
|
|
|
563
560
|
* 转换API返回的导出结果
|
|
564
561
|
*/
|
|
565
562
|
transformExportResultFromAPI(apiResult) {
|
|
566
|
-
const fileBlob = this.createFileBlobFromBase64(
|
|
563
|
+
const fileBlob = this.createFileBlobFromBase64(
|
|
564
|
+
apiResult.fileData ?? apiResult.fileBlob,
|
|
565
|
+
apiResult.fileName
|
|
566
|
+
);
|
|
567
567
|
return {
|
|
568
568
|
exportId: apiResult.exportId,
|
|
569
569
|
fileName: apiResult.fileName,
|