Commit 58fc8679 authored by 范雪寒's avatar 范雪寒

fix: bugs

parent 10f7be4b
......@@ -188,6 +188,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
if (!this.bgItem.url) {
callBack();
return;
}
bg.load(this.bgItem.url).then(() => {
......@@ -213,6 +214,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
const bg2 = this.bg2;
if (!this.bgItem2.url) {
callBack();
return;
}
bg2.load(this.bgItem2.url).then(() => {
......@@ -446,6 +448,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
this.bgItem2 = {};
}
this.refreshBackground(() => {
console.log('汪汪汪')
if (!this.hotZoneItemArr) {
this.hotZoneItemArr = [];
} else {
......
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