| | |
| | | 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 => { |
| | |
| | | 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) { |
| | |
| | | }, |
| | | complete: () => {} |
| | | }); |
| | | }, |
| | | }, |
| | | getCurrentTree() { |
| | | this.$u.post('/api/Sys_Menu/getTreeMenu1', {}).then(result => { |
| | | this.tree = result; |