Commit 2884b6e9 authored by 华国豪's avatar 华国豪 🙄

截图隐藏显示传窗口

parent 93929c38
......@@ -160,6 +160,7 @@ export default {
this.MsgBus.$emit("ignore-all-unRead")
})
this.$electron.ipcRenderer.on('new-screen-hot', (event,dataurl) => {
this.$electron.remote.getCurrentWindow().show();
this.MsgBus.$emit("new-screen-hot",dataurl)
})
//
......
......@@ -221,6 +221,9 @@ export default {
this.msgToSent=obj
},
openScreenhot() {
if (this.hideThisWinActive == '1') {
this.$electron.remote.getCurrentWindow().hide();
}
this.$electron.ipcRenderer.send("open-screenhot");
},
dataURLtoBlob(dataurl) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment