25-8-8
This commit is contained in:
@ -1420,11 +1420,11 @@ async function MapPrint(sdk, thumbnailImg, rectangle, originalImg) {
|
||||
const url = URL.createObjectURL(blob);
|
||||
let downloadElement = document.createElement('a');
|
||||
downloadElement.href = url;
|
||||
downloadElement.download = `高清出图-${getDateTimeString()}.jpg`;
|
||||
downloadElement.download = `高清出图-${getDateTimeString()}.png`;
|
||||
document.body.appendChild(downloadElement);
|
||||
downloadElement.click();
|
||||
document.body.removeChild(downloadElement);
|
||||
}, 'image/jpeg', 0.95);
|
||||
}, 'image/png', 0.95);
|
||||
exporting = false;
|
||||
exportBtn.innerHTML = '打印';
|
||||
// canvas2.toBlob(function (blob) {
|
||||
|
Reference in New Issue
Block a user