From 7ed7b2efd2f880b1384992bd5012756d88af03d2 Mon Sep 17 00:00:00 2001 From: zhangxuelin <959231531@qq.com> Date: Tue, 10 Sep 2024 15:21:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=B7=B3=E8=BD=ACapt?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/prepare/container/file-list-item.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) 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;