|
@@ -751,7 +751,7 @@ const downloadHtml = async () => {
|
|
|
}),
|
|
|
'*'
|
|
|
);
|
|
|
- pen_3d.iframe = '/view?data=3d';
|
|
|
+ pen_3d[0].iframe = '/view?data=3d';
|
|
|
}else{
|
|
|
pen_3d.forEach((pen) => {
|
|
|
//发送消息
|
|
@@ -807,8 +807,8 @@ const downloadHtml = async () => {
|
|
|
}),
|
|
|
'*'
|
|
|
);
|
|
|
+ pen.iframe = `/view?data=2d-${params.id}`
|
|
|
});
|
|
|
- pen.iframe = `/view?data=2d-${params.id}`
|
|
|
}
|
|
|
iframeNum+= pen_2d.length;
|
|
|
}
|
|
@@ -862,7 +862,7 @@ const saveDownload = async()=>{
|
|
|
]);
|
|
|
const zip = new JSZip();
|
|
|
|
|
|
- await Promise.all([...downloadList].map(async(item)=>{
|
|
|
+ await Promise.all([...downloadList].map(async(item:any)=>{
|
|
|
if(item.url){
|
|
|
//接口请求
|
|
|
const res: Blob = await axios.get(item.url, {
|