| | |
| | | ] |
| | | }, |
| | | onShow: function() { |
| | | // 隐藏时间,电量,信号等 |
| | | // #ifdef APP-PLUS |
| | | plus.navigator.setFullscreen(true) |
| | | // #endif |
| | | // 获取版本 |
| | | this.getVersion(); |
| | | this.baseUrll = uni.getStorageSync("baseUrl") |
| | | // console.log(this.baseUrll); |
| | | console.log('App Show') |
| | | }, |
| | | onHide: function() { |
| | |
| | | getUpdateVersion() { |
| | | let that = this; |
| | | uni.request({ |
| | | url: that.baseUrll + "/appUpdate/queryUpdate", |
| | | url: that.baseUrll + "/mobile/appUpdate/queryUpdate", |
| | | // data: {combParam: 'asd'}, |
| | | method:'GET', |
| | | data: {combParam: 'asd'}, |
| | | success(res) { |
| | | console.log(res); |
| | | } |