Commit 1c53bef7 authored by Chen Jiping's avatar Chen Jiping

fix:移除日志输出

parent beec69e8
...@@ -148,7 +148,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges { ...@@ -148,7 +148,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
if (!this.bg) { if (!this.bg) {
this.bg = new MySprite(this.ctx); this.bg = new MySprite(this.ctx);
this.renderArr.push(this.bg); this.renderArr.push(this.bg);
console.log(this.renderArr)
} }
const bg = this.bg; const bg = this.bg;
...@@ -516,7 +516,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges { ...@@ -516,7 +516,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
initData() { initData() {
console.log(this.wrap.nativeElement)
this.canvasWidth = this.wrap.nativeElement.clientWidth; this.canvasWidth = this.wrap.nativeElement.clientWidth;
this.canvasHeight = this.wrap.nativeElement.clientHeight; this.canvasHeight = this.wrap.nativeElement.clientHeight;
this.mapScale = this.canvasWidth / this.canvasBaseW; this.mapScale = this.canvasWidth / this.canvasBaseW;
......
...@@ -46,7 +46,7 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { ...@@ -46,7 +46,7 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
} }
init() { init() {
console.log(JSON.stringify(this.item));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment