|
@@ -322,14 +322,15 @@ export default {
|
|
|
});
|
|
|
|
|
|
// 获取当前课程的作业列表
|
|
|
+ let _this = this;
|
|
|
listenerMessage("getAccompany", (res) => {
|
|
|
- console.log(res, "getAccompany");
|
|
|
if (res && res.content) {
|
|
|
- this.tabActiveList.musicScoreIdList[this.tabActiveIndex] = {
|
|
|
+ _this.tabActiveList.musicScoreIdList[this.tabActiveIndex] = {
|
|
|
id: res.content.songId,
|
|
|
name: res.content.songName,
|
|
|
songPart: res.content.songPart,
|
|
|
};
|
|
|
+ _this.$forceUpdate();
|
|
|
}
|
|
|
});
|
|
|
},
|
|
@@ -457,7 +458,7 @@ export default {
|
|
|
expiryDate: dayjs(this.dateSection.currentDate).format("YYYY-MM-DD"),
|
|
|
musicScoreSubjectDto: musicScoreSubjectDto,
|
|
|
};
|
|
|
- console.log(params, 'params')
|
|
|
+ console.log(params, "params");
|
|
|
addHomeWork(cleanDeep({ ...params })).then((res) => {
|
|
|
let result = res.data;
|
|
|
this.$toast.clear();
|