|
@@ -128,8 +128,8 @@ export default {
|
|
|
return this.$refs.modalFormComp.validate();
|
|
|
},
|
|
|
getData() {
|
|
|
- let data = { ...this.modalForm };
|
|
|
- data.quesAnswer = JSON.stringify(data.quesAnswer || []);
|
|
|
+ let data = Object.assign({}, this.question, this.modalForm);
|
|
|
+ data.quesAnswer = JSON.stringify(this.modalForm.quesAnswer);
|
|
|
return data;
|
|
|
},
|
|
|
activeQuestion() {
|