|
@@ -2671,10 +2671,10 @@ export default {
|
|
|
astudent:
|
|
|
this.checkboxList.length > 0
|
|
|
? JSON.stringify(this.checkboxList)
|
|
|
- : "",
|
|
|
+ : [],
|
|
|
see: this.isTeacherSee == true ? 0 : 1,
|
|
|
chapters: JSON.stringify(this.unitJson),
|
|
|
- template: this.cTemplate,
|
|
|
+ template: this.cTemplate != "undefined" ? this.cTemplate : "",
|
|
|
courseType: JSON.stringify(this.courseTypeId),
|
|
|
},
|
|
|
];
|
|
@@ -2722,10 +2722,10 @@ export default {
|
|
|
astudent:
|
|
|
this.checkboxList.length > 0
|
|
|
? JSON.stringify(this.checkboxList)
|
|
|
- : "",
|
|
|
+ : [],
|
|
|
see: this.isTeacherSee == true ? 0 : 1,
|
|
|
- chapters: JSON.stringify(this.unitJson),
|
|
|
- template: this.myWord,
|
|
|
+ chapters: JSON.stringify(this.unitJson).replaceAll(/%/g,'%25'),
|
|
|
+ template: this.myWord != "undefined" ? this.myWord : [],
|
|
|
uid: this.userid,
|
|
|
courseType: JSON.stringify(this.courseTypeId),
|
|
|
},
|