Commit 9bbf94dd authored by liujiangnan's avatar liujiangnan

修改BUG

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