diff --git a/src/app/ui/collection-tools/collection-tools.component.html b/src/app/ui/collection-tools/collection-tools.component.html index d06905f..3b47c75 100644 --- a/src/app/ui/collection-tools/collection-tools.component.html +++ b/src/app/ui/collection-tools/collection-tools.component.html @@ -7,7 +7,7 @@ 图标大小 - + 正常 放大2倍 放大4倍 diff --git a/src/app/ui/collection-tools/collection-tools.component.ts b/src/app/ui/collection-tools/collection-tools.component.ts index 938dc1b..eaafa8a 100644 --- a/src/app/ui/collection-tools/collection-tools.component.ts +++ b/src/app/ui/collection-tools/collection-tools.component.ts @@ -43,7 +43,7 @@ export class CollectionToolsComponent implements OnInit { '#FF6A6A','#ff0000','#ff6eb4','#00bfff','#54ff9f', '#009688','#836fff','#ff8c00','#ee00ee','#ffa07a', '#00C500','#00ffff','#6495ed','#ffdAb9','#AA00FF'] - selected = 'option1' //图标大小选择框 + selected = "1" //图标大小选择框 allBuildings //该单位所有建筑 beforeOneCheckedBuilding:any = {name:"总平面图"}; //当前点击选择的建筑 @@ -160,7 +160,8 @@ export class CollectionToolsComponent implements OnInit { //放大图标 iconScale(){ - this.canvas.setIconScale(this.selected) + let number = Number(this.selected) + this.canvas.setIconScale(number) } //素材宽度输入框改变 assetWidthIunput(){ @@ -411,9 +412,6 @@ export class CollectionToolsComponent implements OnInit { //复制素材 copyAsset(){ this.canvas.copy() - // console.log(1,this.canvasData.originalcompanyBuildingData) - // console.log(2,this.canvasData.originaleveryStoreyData) - // console.log(3,this.selectingSitePlan.id) } //粘贴素材 pasteAsset(){