Ver código fonte

修复版本号获取错误问题

duanchangpeng 5 anos atrás
pai
commit
1330093ae2

Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
hbuild/GoAllOutTv/GoAllOutTv/index.html


+ 2 - 2
hbuild/GoAllOutTv/GoAllOutTv/manifest.json

@@ -3,8 +3,8 @@
     "id" : "H5BB8BEB3", /*应用的标识*/
     "name" : "小飞龙", /*应用名称,程序桌面图标名称*/
     "version" : {
-        "name" : "1.3.5", /*应用版本名称*/
-        "code" : 28
+        "name" : "1.3.6", /*应用版本名称*/
+        "code" : 29
     },
     "description" : "小飞龙TV平台", /*应用描述信息*/
     "icons" : {

+ 3 - 1
tv/src/views/Index.vue

@@ -137,7 +137,9 @@ export default {
       QueryVueFramework(postdata).then(res => {
         let json = res;
         if (json.Code == 0) {
-          if (version != json.Version) {
+          console.log('version' + version);
+          console.log('json.Version' + json.VueFramework.Version);
+          if (version != json.VueFramework.Version) {
             // 正式
             let url = "http://cal.beswell.com:85/v1/Sensors/DownloadVueFramework";
             // 测试

Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff