Commit 9bbf94dd authored by liujiangnan's avatar liujiangnan

修改BUG

parent d6459bf4
<div class="title-config">
<div class="title-wrap">
<div class="row">
<div class="row" style="margin: 5px;">
<div class="p-content" style="width:100%">
<div class="p-tool-box d-flex" style="background: #fff;">
<nz-select class="ml-1" style="width: 120px;" [(ngModel)]="__fontFamily"
......
......@@ -29,11 +29,13 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
}
ngOnInit() {
let _this = this;
let _this = this;
(<any>window).courseware.getData(function(data){
if(data){
_this.titleObj = data;
_this.appRef.tick();
setTimeout(() => {
_this.appRef.tick();
}, 1);
}
});
......
......@@ -48,7 +48,9 @@ export class PlayComponent implements OnInit, OnDestroy, OnChanges, AfterViewIni
(<any>window).courseware.getData(function(data){
if(data){
_this.data.contentObj.titleObj.content = data.content;
_this.appRef.tick();
setTimeout(() => {
_this.appRef.tick();
}, 1);
}
});
......
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