diff --git a/src/renderer/src/views/prepare/container/file-list-item.vue b/src/renderer/src/views/prepare/container/file-list-item.vue index bd7922e..c880492 100644 --- a/src/renderer/src/views/prepare/container/file-list-item.vue +++ b/src/renderer/src/views/prepare/container/file-list-item.vue @@ -232,6 +232,16 @@ export default { openFileWin(items) { if (items.fileFlag === 'apt') { console.log(items); + const path="/teaching/aptindex?id="+items.fileId + let configObj = outLink().getBaseData() + let fullPath = configObj.fullPath + path + fullPath = fullPath.replaceAll('//', '/') + // 通知主进程 + ipcRenderer.send('openWindow', { + key: path, + fullPath: fullPath, + cookieData: { ...configObj.data } + }) return } if (!items||!items.fileSuffix) return;