zhuhao_dev #246
|
@ -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('//', '/')
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
:key="index"
|
||||
:item="item"
|
||||
:index="index"
|
||||
:curNode="currentNode"
|
||||
@on-delete="deleteTalk"
|
||||
@on-start-class="startClass"
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue