mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-05-14 19:52:10 +08:00
todo
This commit is contained in:
@@ -96,12 +96,6 @@ export default {
|
||||
pageName: 'BaseSystemIndex',
|
||||
params: {}
|
||||
},
|
||||
'menu_800' : {
|
||||
icon: 'profile',
|
||||
title: '快捷键',
|
||||
pageName: 'BaseShortcutIndex',
|
||||
params: {}
|
||||
},
|
||||
'menu_900' : {
|
||||
icon: 'profile',
|
||||
title: '测试',
|
||||
|
||||
@@ -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);
|
||||
// })
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user