|
|
@@ -98,6 +98,9 @@ export default {
|
|
|
loading: false,
|
|
|
content: null,
|
|
|
exercise_id: '',
|
|
|
+ property: {
|
|
|
+ isGetContent: true, // 是否已获取内容
|
|
|
+ },
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
|
@@ -151,6 +154,7 @@ export default {
|
|
|
this.exercise_id = this.exerciseContent.exercise_id;
|
|
|
|
|
|
this.$nextTick(() => {
|
|
|
+ this.$refs.component.property = this.property;
|
|
|
this.$refs.setting.setSetting(this.$refs.component.data.property, {});
|
|
|
});
|
|
|
} else {
|
|
|
@@ -158,6 +162,9 @@ export default {
|
|
|
this.title = '';
|
|
|
this.typeValue = 'select';
|
|
|
this.exercise_id = '';
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.component.property = this.property;
|
|
|
+ });
|
|
|
}
|
|
|
},
|
|
|
immediate: true,
|
|
|
@@ -214,6 +221,9 @@ export default {
|
|
|
},
|
|
|
handleChnageType() {
|
|
|
this.content = null;
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.component.property = this.property;
|
|
|
+ });
|
|
|
},
|
|
|
},
|
|
|
};
|