From 487e7e2ec4dc57e6b17132210804f1e2021d67d4 Mon Sep 17 00:00:00 2001 From: viarotel Date: Wed, 6 Nov 2024 19:12:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Repair=20floating=20actio?= =?UTF-8?q?n=20bar=20start=20application=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- control/electron/events/menu/index.js | 2 +- .../components/ControlBar/ApplicationStart/index.vue | 9 +++++++-- .../Device/components/ControlBar/Volume/index.vue | 1 - 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/control/electron/events/menu/index.js b/control/electron/events/menu/index.js index fc32f11..8f042ee 100644 --- a/control/electron/events/menu/index.js +++ b/control/electron/events/menu/index.js @@ -10,7 +10,7 @@ export default function (controlWindow) { return { label: item.label, click() { - controlWindow.webContents.send(channel, item.value) + controlWindow.webContents.send(channel, item.value, item) }, } }) diff --git a/src/components/Device/components/ControlBar/ApplicationStart/index.vue b/src/components/Device/components/ControlBar/ApplicationStart/index.vue index 71ce701..d6f67c5 100644 --- a/src/components/Device/components/ControlBar/ApplicationStart/index.vue +++ b/src/components/Device/components/ControlBar/ApplicationStart/index.vue @@ -25,6 +25,9 @@