This commit is contained in:
lyc 2024-08-13 16:22:35 +08:00
parent bc5a6e961d
commit e2d9b61fbe
1 changed files with 8 additions and 2 deletions

View File

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