Commit e1f61b7c authored by 范雪寒's avatar 范雪寒

test: test

parent 17cf5df8
...@@ -100,6 +100,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges { ...@@ -100,6 +100,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
@Input() @Input()
set bgItem(v) { set bgItem(v) {
this._bgItem = v; this._bgItem = v;
this.init();
} }
_bgItem2 = null; _bgItem2 = null;
...@@ -109,6 +110,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges { ...@@ -109,6 +110,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
@Input() @Input()
set bgItem2(v) { set bgItem2(v) {
this._bgItem2 = v; this._bgItem2 = v;
this.init();
} }
onResize(event) { onResize(event) {
......
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