|
@@ -154,6 +154,10 @@
|
|
|
},
|
|
|
|
|
|
onLoad(opthios) {
|
|
|
+ if (opthios.boxId) {
|
|
|
+ this.boxId = opthios.boxId
|
|
|
+ }
|
|
|
+
|
|
|
if (opthios.scene) {
|
|
|
let sceneStr = decodeURIComponent(opthios.scene)
|
|
|
this.sceneArr = sceneStr.split('&')
|
|
@@ -162,10 +166,6 @@
|
|
|
uni.setStorageSync('shareType', this.sceneArr[2])
|
|
|
}
|
|
|
|
|
|
- if (opthios.boxId) {
|
|
|
- this.boxId = opthios.boxId
|
|
|
- }
|
|
|
-
|
|
|
if (opthios.userId) {
|
|
|
uni.setStorageSync('shareUid', opthios.userId)
|
|
|
}
|