|
@@ -267,12 +267,14 @@ export default class UIControl{
|
|
|
|
|
|
//截图
|
|
|
menu_screenShot(fileName) {
|
|
|
- this.menu_flex();
|
|
|
+ // this.menu_flex();
|
|
|
+ // this.layer.stopAddVector()
|
|
|
+ // setTimeout(function(){
|
|
|
+ // this.downloadCadImg(this.layer.canvas,fileName)
|
|
|
+ // }.bind(this),100)
|
|
|
+
|
|
|
this.layer.stopAddVector()
|
|
|
- setTimeout(function(){
|
|
|
- this.downloadCadImg(this.layer.canvas,fileName)
|
|
|
- }.bind(this),100)
|
|
|
-
|
|
|
+ return this.downloadCadImg(this.layer.canvas,fileName)
|
|
|
}
|
|
|
|
|
|
menu_flex() {
|