src/samples/node-api.ts
@@ -36,6 +36,7 @@ // 主进程获取配置项完成sockte注册和httpshu ipcRenderer.on('getConfigData',(_event,...args)=>{ console.log("config.json",...args) if(args!==null){ if(args[0]===undefined){ // alert("配置文件没有写入配置,请检查配置文件 文件路径:"+args[2]) ElMessageBox.prompt('没有设定客户编号,请输入客户编号并保存', '警告', { @@ -60,6 +61,8 @@ creatorClient([],clientCode) } } }) ipcRenderer.on("getScreenTimeout",(_event,args)=>{ if(args!==undefined){