瀏覽代碼

修复版本号获取错误问题

duanchangpeng 5 年之前
父節點
當前提交
1330093ae2
共有 3 個文件被更改,包括 5 次插入3 次删除
  1. 0 0
      hbuild/GoAllOutTv/GoAllOutTv/index.html
  2. 2 2
      hbuild/GoAllOutTv/GoAllOutTv/manifest.json
  3. 3 1
      tv/src/views/Index.vue

File diff suppressed because it is too large
+ 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";
             // 测试

Some files were not shown because too many files changed in this diff