移除多余的代码

This commit is contained in:
wangxiaowei 2024-08-09 15:05:59 +08:00
parent 227fb38fb6
commit 1af1a5b728

@ -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) {