|
@@ -1170,15 +1170,15 @@ export const doDownloadProjectSource = async () => {
|
|
|
imgList = uniqueObjArrayFast(imgList, 'path');
|
|
|
|
|
|
//获取去水印企业图库
|
|
|
- /*if (imgList.length && !isDownload) {
|
|
|
+ /*if ([...prePayList.pngs].length && !isDownload) {
|
|
|
let pngs: any = {};
|
|
|
if (payDialog.token) {
|
|
|
pngs = await getDeployPngs(
|
|
|
- imgList.map((item) => item.url),
|
|
|
+ [...prePayList.pngs],
|
|
|
undefined
|
|
|
);
|
|
|
} else {
|
|
|
- pngs = await getTemPngs(imgList.map((item) => item.url));
|
|
|
+ pngs = await getTemPngs([...prePayList.pngs]);
|
|
|
}
|
|
|
if (!pngs) {
|
|
|
pngs = {};
|