|
@@ -176,9 +176,7 @@ export default {
|
|
|
bus.$on("saveTopoImg", () => {
|
|
|
// 隐藏选择器
|
|
|
this.scene.selectContainer.clear();
|
|
|
- setTimeout(() => {
|
|
|
- this.view.saveImage(`${this.topoContent.name}.png`, "png");
|
|
|
- }, 80);
|
|
|
+ this.view.saveImageSize(`${this.topoContent.name}.png`, "png", this.canvasWidth, this.canvasHeight);
|
|
|
});
|
|
|
// 发布图片
|
|
|
bus.$off("issueTopo");
|