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 @@