|
@@ -171,6 +171,17 @@ export default {
|
|
})
|
|
})
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ onLoad(query) {
|
|
|
|
+ if (query.inviteId) {
|
|
|
|
+ getApp().globalData.inviteId = query.inviteId
|
|
|
|
+ } else {
|
|
|
|
+ const scene = decodeURIComponent(query.scene)
|
|
|
|
+ let inviteId = scene.split('=')[1]
|
|
|
|
+ console.log(inviteId, 'inviteId')
|
|
|
|
+ getApp().globalData.inviteId = inviteId
|
|
|
|
+ }
|
|
|
|
+ console.log(this.$refs)
|
|
|
|
+ },
|
|
watch: {
|
|
watch: {
|
|
type() {
|
|
type() {
|
|
this.getList()
|
|
this.getList()
|