From 0d55c20636ebfe8c67eb78293bf7a31a7023c614 Mon Sep 17 00:00:00 2001 From: Enzo <1284707383@qq.com> Date: Thu, 26 Aug 2021 18:32:57 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 8c2c342..782a19b 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -132,21 +132,21 @@ this.getFavourite() }, onLoad(options) { - console.log('=======11111=======',options) - if (options.scene) { - // 单个参数 - let str = decodeURIComponent(options.scene); - let obj = this.parseData(str); - console.log('==============',str) - return - if (obj.type == 'de_qr') { - this.click_type = 'department_qr'; - this.qr_id = obj.first_id; - }else if(obj.type == 'sp_qr'){ - this.click_type = 'special_qr'; - this.qr_id = obj.special_id; - } - } + // console.log('=======11111=======',options) + // if (options.scene) { + // // 单个参数 + // let str = decodeURIComponent(options.scene); + // let obj = this.parseData(str); + // console.log('==============',str) + // return + // if (obj.type == 'de_qr') { + // this.click_type = 'department_qr'; + // this.qr_id = obj.first_id; + // }else if(obj.type == 'sp_qr'){ + // this.click_type = 'special_qr'; + // this.qr_id = obj.special_id; + // } + // } }, methods: { //获取猜你喜欢