| | |
| | | <script> |
| | | export default { |
| | | onLaunch: function() { |
| | | console.log('App Launch') |
| | | console.log('App Launch') |
| | | }, |
| | | onShow: function() { |
| | | console.log('App Show') |
| | |
| | | this.token = uni.getStorageSync('token'); |
| | | |
| | | this.getEmptyMatList() |
| | | |
| | | uni.onNetworkStatusChange(function (res) { |
| | | if(!res.isConnected) { |
| | | uni.showLoading({ |
| | | title: '网络断开...' |
| | | }); |
| | | }else { |
| | | uni.hideLoading(); |
| | | } |
| | | }); |
| | | }, |
| | | methods: { |
| | | jump() { |
| | |
| | | this.token = uni.getStorageSync('token'); |
| | | |
| | | this.getEmptyMatList() |
| | | |
| | | uni.onNetworkStatusChange(function (res) { |
| | | if(!res.isConnected) { |
| | | uni.showLoading({ |
| | | title: '网络断开...' |
| | | }); |
| | | }else { |
| | | uni.hideLoading(); |
| | | } |
| | | }); |
| | | }, |
| | | methods: { |
| | | jump() { |