@@ -199,7 +199,7 @@ class MainSerivce {
this.contrlEvent = null
dialog.showMessageBox(this.mainWin, { message: msg.text, type: 'error', title: '连接错误' }).then(async ({ response }) => {
if (!response) {
- if(msg.includes('请链接')) return
+ if(msg && msg.text.includes('请链接')) return
await sleep(2000)
this.connectLogi()
}