Commit 46aca9f7 authored by 李维's avatar 李维

Bug fix

parent 64a2ba0d
......@@ -35,7 +35,6 @@ export class UploadImageWithPreviewComponent implements OnDestroy, OnChanges {
constructor(private nzMessageService: NzMessageService) {
this.uploadUrl = (<any> window).courseware.uploadUrl();
this.uploadData = (<any> window).courseware.uploadData();
window['air'].getUploadCallback = (url, data) => {
this.uploadUrl = url;
this.uploadData = data;
......
......@@ -13,7 +13,7 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
dataArray: Array<Object> = [];
hotZoneItemArr: Array<Object> = [];
bgItem: Object;
bgImages: Object;
bgImages: Object = {leftTop:"", middleTop:"", rightTop:"", leftMiddle:"", rightMiddle:"", leftBottom:"", middleBottom:"", rightBottom:""};
KEY = 'DataKey_YM4-11';
set item(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