Browse Source

修复提示

caner 2 years ago
parent
commit
6b112ba0e4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      electron/main.js

+ 1 - 1
electron/main.js

@@ -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()
           }