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