mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-17 19:23:26 +00:00
perf: 桌面客户端出现无法关闭窗口的情况
This commit is contained in:
parent
ba2d81da50
commit
cf0a431fff
2
electron/utils.js
vendored
2
electron/utils.js
vendored
@ -304,6 +304,8 @@ module.exports = {
|
|||||||
} else if (options !== true) {
|
} else if (options !== true) {
|
||||||
resolve()
|
resolve()
|
||||||
}
|
}
|
||||||
|
}).catch(_ => {
|
||||||
|
resolve()
|
||||||
})
|
})
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user