lyc-dev #125

Merged
lyc merged 6 commits from lyc-dev into main 2024-08-13 16:23:05 +08:00
1 changed files with 8 additions and 2 deletions
Showing only changes of commit e2d9b61fbe - Show all commits

View File

@ -194,7 +194,8 @@ export default {
entpcourseid: '', entpcourseid: '',
// //
setDialog: false, setDialog: false,
row: '' row: '',
isOpenHomework: false
} }
}, },
computed: { computed: {
@ -225,7 +226,10 @@ export default {
// electron // electron
const curWin = Remote.getCurrentWindow() const curWin = Remote.getCurrentWindow()
curWin.on('focus', ()=>{ curWin.on('focus', ()=>{
if(!this.isOpenHomework) return
console.log(100)
this.initHomeWork() this.initHomeWork()
this.isOpenHomework = false
}) })
@ -466,7 +470,9 @@ export default {
}, },
// //
handleOutLink(key) { handleOutLink(key) {
if(key == 'homeWork'){
this.isOpenHomework = true
}
// key linkConfig.js // key linkConfig.js
let configObj = outLink()[key] let configObj = outLink()[key]
// //