|
@@ -35,7 +35,7 @@
|
|
|
onLaunch: function(option) {
|
|
|
let token = window.location.search.split('token=')[1]
|
|
|
let serialNumber = window.location.search.split('serialNumber=')[1]
|
|
|
- console.log('App Launch',token,serialNumber)
|
|
|
+ console.log('App Launch', token, serialNumber)
|
|
|
// console.log(token)
|
|
|
let t = this;
|
|
|
inforeq((res) => {
|
|
@@ -48,11 +48,9 @@
|
|
|
console.log('success');
|
|
|
}
|
|
|
});
|
|
|
-
|
|
|
t.globalData.token = token
|
|
|
-
|
|
|
}
|
|
|
- if(serialNumber && serialNumber.length > 0){
|
|
|
+ if (serialNumber && serialNumber.length > 0) {
|
|
|
uni.setStorage({
|
|
|
key: 'serialNumber',
|
|
|
data: serialNumber,
|
|
@@ -145,4 +143,4 @@ this.globalData.SET_SYSTEM_INFO = e
|
|
|
this.globalData.SET_CUSTOM_BAR = customBar
|
|
|
this.globalData.SET_STATUS_BAR = statusBar
|
|
|
}
|
|
|
-})
|
|
|
+})
|