chenyc
2022-09-30 175cfb761606e7f0f7dea6b19c3c079685461778
up123
2个文件已修改
4 ■■■ 已修改文件
electron/main/index.ts 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/index.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
electron/main/index.ts
@@ -84,7 +84,6 @@
  // 测试推送消息到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)
src/views/home/index.vue
@@ -250,11 +250,10 @@
        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)