Commit ab4078fe authored by Chen Jiping's avatar Chen Jiping

fix:修复问题

parent 46f36230
......@@ -128,5 +128,8 @@
}
}
},
"defaultProject": "ng-template-generator"
}
"defaultProject": "ng-template-generator",
"cli": {
"analytics": "9a4a6e28-7879-40b8-b4c2-7bcb81ad432b"
}
}
\ No newline at end of file
......@@ -62,8 +62,8 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
this.save();
}
if (!this.item.exercisesArr) {
this.item.exercisesArr = [];
if (!this.item.sentences) {
this.item.sentences = [];
this.save();
}
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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