| | |
| | | // 测试推送消息到Renderer进程 |
| | | win.webContents.on('did-finish-load', () => { |
| | | creatorKoa(win) |
| | | win?.webContents.send('message-koa','nihao0-----') |
| | | win?.webContents.send('getScreenTimeout',store.get('screenTimeout')) |
| | | win?.webContents.send('getPcName',store.get('machineName')) |
| | | win?.webContents.send('getConfigData',store.get('clientCode'),store.path) |
| | |
| | | onMounted(() => { |
| | | console.log('页面初始化', os.hostname()) |
| | | state.haodu=(document.documentElement.clientHeight-180)/2+'px' |
| | | |
| | | state.clockNum = patientInfoStore().viewNumber |
| | | setInterval(function () { |
| | | if(isLink.value){ |
| | | // console.log('sockte链接成功指标指向input',isLink.value) |
| | | console.log('sockte链接成功指标指向input',isLink.value) |
| | | inputRef.value.focus(); |
| | | } |
| | | }, 1000) |