Jelajahi Sumber

内外版本升级

Changpeng Duan 5 tahun lalu
induk
melakukan
d53b7d4619
1 mengubah file dengan 5 tambahan dan 6 penghapusan
  1. 5 6
      tv/src/views/Index.vue

+ 5 - 6
tv/src/views/Index.vue

@@ -72,7 +72,6 @@ export default {
           that.curVersion = inf.version;
           //首发版本 '1.1.0' 在线版不需要自动升级
             // 内测版自动升级
-            if (localStorage.eqSn == 'a1f2d679c1624d3a' || localStorage.eqSn == '30:9C:23:0C:8B:1E') {
                 let url = 'http://192.168.0.3:19096/v1/Sensors/QueryVueFramework';
                 let param = {};
                 let postdata = qs.stringify(param);
@@ -86,15 +85,15 @@ export default {
                         }
                     } else {
                         console.log(json.Memo);
+                        console.log(123);
+                        // 正式版
+                        //开启自动升级
+                        // that.checkUpdate(that.curVersion);
                     }
                 }, function (response) {
                     console.info(response);
                 })
-            }else{
-                // 正式版
-                //开启自动升级
-                that.checkUpdate(that.curVersion);
-            }
+
         });
 
         //   获取手机UUID