From 5f2b7c7802b4d60633aac449d993bea3188de72b Mon Sep 17 00:00:00 2001 From: PiEgg Date: Tue, 7 Jan 2020 23:16:35 +0800 Subject: [PATCH] :bug: Fix: miniWindow minimize bug --- src/renderer/pages/MiniPage.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/renderer/pages/MiniPage.vue b/src/renderer/pages/MiniPage.vue index 9b217ad33..bbe37dc2e 100644 --- a/src/renderer/pages/MiniPage.vue +++ b/src/renderer/pages/MiniPage.vue @@ -170,8 +170,10 @@ export default class extends Vue { } }, { - label: '最小化窗口', - role: 'minimize' + label: '隐藏窗口', + click () { + remote.BrowserWindow.getFocusedWindow()!.hide() + } }, { label: '重启应用',