|
@@ -884,8 +884,8 @@ export const getDownloadZipList = (meta2dData: any, zips:any) => {
|
|
|
});
|
|
|
for (let key in zips) {
|
|
|
lists.add({
|
|
|
- data:JSON.stringify(zips[key].data).replaceAll(img_cdn, '').replaceAll(img_upCdn, ''),
|
|
|
- path: `${key}/${zips[key].data.name.replace(/\//g, '_').replace(/:/g, '_')}.json`
|
|
|
+ data:JSON.stringify(zips[key].data)?.replaceAll(img_cdn, '').replaceAll(img_upCdn, ''),
|
|
|
+ path: `${key}/${zips[key].data.name?.replace(/\//g, '_')?.replace(/:/g, '_')}.json`
|
|
|
});
|
|
|
// zips[key].pngs.forEach(item => pngs.add(item));
|
|
|
getDataPngs(zips[key].data).forEach(item => lists.add(item));
|