From 8f5c2d49827662716ec991950870415b8d8b1c5c Mon Sep 17 00:00:00 2001 From: 3136352472 <3136352472> Date: Mon, 20 Apr 2020 15:30:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E7=8F=AD=E7=94=B3=E8=AF=B7=E8=8F=9C?= =?UTF-8?q?=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/tray.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/tray.js b/lib/tray.js index ab3d1b6..eeb9a64 100644 --- a/lib/tray.js +++ b/lib/tray.js @@ -167,6 +167,14 @@ ipcMain.on('put-in-tray', (event) => { tray.popUpContextMenu(Menu.buildFromTemplate(result.concat({ type: "separator" }, { + label: "加班申请", + click: function (menuItem, browserWindow, event) { + mainwin.MainWindow.loadURL(`http://oa.ouxuan.net/?a=lum&m=input&d=flow&num=jiaban&show=we`) + mainwin.MainWindow.show(); + }, + }, { + type: "separator" + }, { label: "仅查看未完成", type: "checkbox", checked: libdata.GetConfig().TaskType == "wwc",