|
|
@@ -343,7 +343,7 @@ export default {
|
|
|
Strockplayredline,
|
|
|
Audio,
|
|
|
},
|
|
|
- inject: ['getSelectId', 'convertText'],
|
|
|
+ inject: ['getSelectId', 'convertText', 'getCoursewareId'],
|
|
|
props: [
|
|
|
'data',
|
|
|
'changeDetailIndex',
|
|
|
@@ -523,7 +523,7 @@ export default {
|
|
|
this.loading1 = true;
|
|
|
this.loading2 = true;
|
|
|
this.loading3 = true;
|
|
|
- let currentTreeID = this.$route.params.id || this.getSelectId();
|
|
|
+ let currentTreeID = this.getCoursewareId() || this.getSelectId();
|
|
|
// 获取本课的 本教材的 本套的 的例句
|
|
|
getCoursewareWordExampleSentenceList({
|
|
|
courseware_id: currentTreeID, // 课件id
|