移除多余的代码
This commit is contained in:
parent
227fb38fb6
commit
1af1a5b728
4
App.vue
4
App.vue
@ -29,9 +29,6 @@
|
|||||||
},
|
},
|
||||||
onShow: function(options) {
|
onShow: function(options) {
|
||||||
this.bindCode(options)
|
this.bindCode(options)
|
||||||
},
|
|
||||||
onHide: function() {
|
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapActions(['getSystemInfo', 'getUser', 'wxShare', 'initLocationFunc']),
|
...mapActions(['getSystemInfo', 'getUser', 'wxShare', 'initLocationFunc']),
|
||||||
@ -51,6 +48,7 @@
|
|||||||
},
|
},
|
||||||
async bindCode(options, code) {
|
async bindCode(options, code) {
|
||||||
if(!options.query) return
|
if(!options.query) return
|
||||||
|
if (options.query.path == 'goods_details') return
|
||||||
let invite_code = options.query.invite_code || strToParams(decodeURIComponent(options.query.scene))
|
let invite_code = options.query.invite_code || strToParams(decodeURIComponent(options.query.scene))
|
||||||
.invite_code
|
.invite_code
|
||||||
if (invite_code) {
|
if (invite_code) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user