| | |
| | | <script> |
| | | export default { |
| | | globalData: { |
| | | isMobox3:true, |
| | | deviceId:"", |
| | | cname:"", |
| | | isMobox3: true, |
| | | deviceId: "", |
| | | cname: "", |
| | | mobox3ApiUrl: { |
| | | org: "", |
| | | data: "", |
| | | mobox: "", |
| | | }, |
| | | mobox2ApiUrl:"", |
| | | mobox2ApiUrl: "", |
| | | loginUser: { |
| | | id: "", |
| | | name: "", |
| | | pwd: "" |
| | | }, |
| | | sessionId: "" |
| | | sessionId: "", |
| | | bindClasses: false, |
| | | classes: "" |
| | | }, |
| | | onLaunch: function() { |
| | | console.log('App Launch'); |
| | | this.initscan(); |
| | | }, |
| | | onShow: function() { |
| | | // const args = plus.runtime.arguments || "" |
| | | // if(args) |
| | | // { |
| | | // uni.showModal({ |
| | | // title: "App参数", |
| | | // content: args, |
| | | // showCancel: false, |
| | | // confirmText:"cancel" |
| | | // }); |
| | | // } |
| | | console.log('App Show') |
| | | }, |
| | | onHide: function() { |