BUG修复 #811,V2.0.3 APT设计-添加活动,与当前选择的章节不一致

This commit is contained in:
朱浩 2024-09-22 11:14:19 +08:00
parent 78b795bf4f
commit 622cdfe0fe
2 changed files with 9 additions and 2 deletions

View File

@ -108,6 +108,12 @@ export default {
name: 'FileListItem',
components: { FileImage },
props: {
curNode: {
type: Object,
default: function () {
return {}
}
},
item: {
type: Object,
default: function () {
@ -201,8 +207,8 @@ export default {
},
openFileWin(items) {
if (items.fileFlag === 'apt') {
console.log(items);
const path="/teaching/aptindex?id="+items.fileId
console.log(this.curNode);
const path="/teaching/aptindex?id="+items.fileId + "&cataId=" + this.curNode.id;
let configObj = outLink().getBaseData()
let fullPath = configObj.fullPath + path
fullPath = fullPath.replaceAll('//', '/')

View File

@ -20,6 +20,7 @@
:key="index"
:item="item"
:index="index"
:curNode="currentNode"
@on-delete="deleteTalk"
@on-start-class="startClass"
>