Commit 56ab2271 authored by 李维's avatar 李维

Bug fix

parent 8e3c858e
......@@ -31,10 +31,12 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
}
this.init();
this.changeDetectorRef.markForCheck();
this.changeDetectorRef.detectChanges();
this.refresh();
setTimeout(() => {
this.changeDetectorRef.markForCheck();
this.changeDetectorRef.detectChanges();
}, 200);
}, this.saveKey);
}
......@@ -62,6 +64,11 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
// });
// }
}
if(!this.item.answerArr) {
this.item.answerArr = []
}
}
......
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