Commit d51e0e2f authored by 李维's avatar 李维

Bug fix

parent 9f0d2290
......@@ -18,7 +18,16 @@ export class BackgroundUploadComponent {
cleanAll() {
if(confirm("确定清空所有背景吗?")) {
this.items = {"leftTop": '', "middleTop": '', "rightTop": '', "leftMiddle": '', "rightMiddle": '', "leftBottom": '', "middleBottom": '', "rightBottom": ''}
this.items["leftTop"] = "";
this.items["middleTop"] = "";
this.items["rightTop"] = "";
this.items["leftMiddle"] = "";
this.items["rightMiddle"] = "";
this.items["leftBottom"] = "";
this.items["middleBottom"] = "";
this.items["rightBottom"] = "";
this.change.emit(this.items)
}
}
......
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