Commit 546c0a53 authored by limingzhe's avatar limingzhe

fix: debug

parent 08cf2e47
No preview for this file type
<div style="margin: 30px;"> <div style="margin: 30px;">
<div style="margin-top: 50px; width: 1000px;"> <div style="margin-top: 50px; width: 1000px;">
<div style="margin-bottom: 30px;">
<label nz-checkbox [(ngModel)]="item.isFCE" (ngModelChange)="save()">FCE</label>
</div>
<h1>内容数据:</h1> <h1>内容数据:</h1>
<app-form-group <app-form-group
...@@ -12,7 +16,6 @@ ...@@ -12,7 +16,6 @@
</app-form-group> </app-form-group>
</div> </div>
<div *ngIf="item && item.quesArr" style="border: 2px #ccc solid; border-radius: 15px; width: 1000px; margin: 30px"> <div *ngIf="item && item.quesArr" style="border: 2px #ccc solid; border-radius: 15px; width: 1000px; margin: 30px">
<div *ngFor="let ques of item.quesArr; let i = index" <div *ngFor="let ques of item.quesArr; let i = index"
style="border: 1px #ccc solid; border-radius: 15px; width: 950px; padding: 30px; margin: 30px;"> style="border: 1px #ccc solid; border-radius: 15px; width: 950px; padding: 30px; margin: 30px;">
......
...@@ -689,9 +689,12 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { ...@@ -689,9 +689,12 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
if (this.item.isFCE && (word.indexOf(" ") != -1)) {
ques.word = word.replace(/ /g, ' ');
} else {
ques.word = word.split('').join(' '); ques.word = word.split('').join(' ');
ques.word = ques.word.replace(/ /g, ' '); ques.word = ques.word.replace(/ /g, ' ');
}
ques2.word = word; ques2.word = word;
......
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