From 3d0454d93b75e3a6c7463402b0beaaa452d80a77 Mon Sep 17 00:00:00 2001 From: sjf1256754123 <33301030+sjf1256754123@users.noreply.github.com> Date: Sun, 16 Feb 2020 09:51:54 +0800 Subject: [PATCH] demo --- pages/index/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 3d0405e..90aad77 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 -- 2.22.0