彭宇 2 lat temu
rodzic
commit
1ae7e213e9
1 zmienionych plików z 12 dodań i 11 usunięć
  1. 12 11
      src/components/TVWall.vue

+ 12 - 11
src/components/TVWall.vue

@@ -214,17 +214,18 @@
           console.log("连接成功");
         }else{
           console.log("连接失败,下载客户端");
-          this.isShowTipe && this.$modal.confirm({
-            title: '下载客户端',
-            content: '检测到您未安装部分插件,将影响部分功能使用,请下载后使用?',
-            onOk: () => {
-              //这里写下载方法
-              this.isShowTipe = false
-            },
-            onCancel: () => {
-              this.isShowTipe = false
-            }
-          });
+          this.alertReinstall();
+          // this.isShowTipe && this.$modal.confirm({
+          //   title: '下载客户端',
+          //   content: '检测到您未安装部分插件,将影响部分功能使用,请下载后使用?',
+          //   onOk: () => {
+          //     //这里写下载方法
+          //     this.isShowTipe = false
+          //   },
+          //   onCancel: () => {
+          //     this.isShowTipe = false
+          //   }
+          // });
         }
       });
       /** ----------------------------------摄像头预览结束------------------------------------- */