|
@@ -196,7 +196,12 @@ export default {
|
|
|
if (this.indexList.length <= 0) return;
|
|
|
if (this.loading) return;
|
|
|
try {
|
|
|
- this.$bus.$emit('saveQuestion');
|
|
|
+ let childrenExercise = this.$refs.exercise[0].$refs.exercise;
|
|
|
+ if (childrenExercise) {
|
|
|
+ childrenExercise.forEach((item) => {
|
|
|
+ item?.saveChildQuestion();
|
|
|
+ });
|
|
|
+ }
|
|
|
await SaveQuestion(this.dataConversion());
|
|
|
const curDate = timeFormatConversion(new Date());
|
|
|
if (this.curSaveDate !== curDate) {
|