diff --git a/pages/index/index.vue b/pages/index/index.vue index 3d0405e6f24a203dbebb8a814c0c77e6def07d72..90aad77bb384a11ea20ec5a91be0444d579a56e0 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -26,7 +26,8 @@ }; }, onLoad: function(option) { - console.log(option) + const scene = decodeURIComponent(option.scene) + console.log(scene) this.option = option let that = this // #ifdef MP-WEIXIN