diff --git a/frontend/src/layouts/Menu.vue b/frontend/src/layouts/Menu.vue index fe989d1..610963e 100644 --- a/frontend/src/layouts/Menu.vue +++ b/frontend/src/layouts/Menu.vue @@ -96,12 +96,6 @@ export default { pageName: 'BaseSystemIndex', params: {} }, - 'menu_800' : { - icon: 'profile', - title: '快捷键', - pageName: 'BaseShortcutIndex', - params: {} - }, 'menu_900' : { icon: 'profile', title: '测试', diff --git a/frontend/src/views/base/system/Index.vue b/frontend/src/views/base/system/Index.vue index d265078..2a1aafa 100644 --- a/frontend/src/views/base/system/Index.vue +++ b/frontend/src/views/base/system/Index.vue @@ -35,29 +35,15 @@ export default { }, methods: { init () { + // todo ..... const self = this; - // this.$ipc.on(ipcApiRoute.autoLaunch, (event, result) => { - // console.log('[ipcRenderer] [autoLaunch] result:', result) - // this.autoLaunchChecked = result.status; - // }) - // this.$ipc.send(ipcApiRoute.autoLaunch, 'check'); self.$ipcCall(ipcApiRoute.autoLaunch, 'check').then(result => { console.log('[ipcRenderer] [autoLaunch] result:', result) this.autoLaunchChecked = result.status; - console.log('[ipcRenderer] [autoLaunch] result2:', self.autoLaunchChecked) }) }, autoLaunchChange (checkStatus) { console.log('[ipcRenderer] [autoLaunch] self.autoLaunchChecked:', this.autoLaunchChecked) - // if (checkStatus) { - // this.$ipc.send(ipcApiRoute.autoLaunch, 'close'); - // } else { - // this.$ipc.send(ipcApiRoute.autoLaunch, 'open'); - // } - // self.$ipcCall(ipcApiRoute.selectFolder, '').then(r => { - // self.dir_path = r; - // self.$message.info(r); - // }) }, } }