zhuhao_dev #246

Merged
zhuhao merged 5 commits from zhuhao_dev into main 2024-09-22 14:02:34 +08:00
2 changed files with 9 additions and 2 deletions
Showing only changes of commit 622cdfe0fe - Show all commits

View File

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

View File

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