wankeda
2025-04-07 4da42c12efde190b208f18b7dd51d3e89986837d
代码管理/AGVjiaoliaoPDA/pages/index/index.vue
@@ -59,7 +59,8 @@
         AndroidCheckUpdate: function() {
            var _this = this;
            uni.request({
               url: 'http://127.0.0.1:9290/api/PDA/GetPDAVersion?version=' + this.version,
               url: 'http://192.168.2.51:9290/api/PDA/GetPDAVersion?version=' + this.version,
               // url: 'http://127.0.0.1:9290/api/PDA/GetPDAVersion?version=' + 1,
               method: 'GET',
               data: {},
               success: res => {
@@ -72,7 +73,8 @@
                        icon: "none"
                     });
                     var dtask = plus.downloader.createDownload(
                        "http://127.0.0.1:9290/api/PDA/DownLoadApp", {},
                        "http://192.168.2.51:9290/api/PDA/DownLoadApp", {},
                        // "http://127.0.0.1:9290/api/PDA/DownLoadApp", {},
                        function(d, status) {
                           // 涓嬭浇瀹屾垚 
                           if (status == 200) {
@@ -100,7 +102,7 @@
               },
               complete: () => {}
            });
         },
         },
         getCurrentTree() {
            this.$u.post('/api/Sys_Menu/getTreeMenu1', {}).then(result => {
               this.tree = result;