12-4
This commit is contained in:
@ -1434,9 +1434,12 @@ class MapPrint {
|
||||
document.body.appendChild(downloadElement);
|
||||
downloadElement.click();
|
||||
document.body.removeChild(downloadElement);
|
||||
setTimeout(() => {
|
||||
exporting = false;
|
||||
exportBtn.innerHTML = '打印';
|
||||
}, 100);
|
||||
}, 'image/png', 0.95);
|
||||
exporting = false;
|
||||
exportBtn.innerHTML = '打印';
|
||||
|
||||
// canvas2.toBlob(function (blob) {
|
||||
// let imgBlobData = URL.createObjectURL(blob);
|
||||
// let downloadElement = document.createElement('a');
|
||||
|
||||
Reference in New Issue
Block a user