zdg #184

Merged
zhangxuelin merged 9 commits from zdg into main 2024-09-10 16:16:46 +08:00
1 changed files with 10 additions and 0 deletions
Showing only changes of commit 7ed7b2efd2 - Show all commits

View File

@ -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;