From 22280130b87ce05a1a49650885bb3dc5ab477a3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?TIMI=2E=E6=9D=A8?= Date: Fri, 25 Mar 2022 09:08:09 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BE=AE=E9=A1=B5=E6=8E=A8?= =?UTF-8?q?=E5=B9=BF=E6=89=AB=E7=A0=81=E6=97=A0=E6=B3=95=E6=89=93=E5=BC=80?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/page/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/page/index.vue b/src/pages/page/index.vue index b12e1c1..8e1fd2d 100644 --- a/src/pages/page/index.vue +++ b/src/pages/page/index.vue @@ -237,7 +237,7 @@ export default { }, onLoad(options) { if (options.scene) { - let {id} = JSON.parse(decodeURIComponent(options.scene)); + let id = decodeURIComponent(options.scene).split("=")[1]; this.handlePageLoading(parseInt(id)); } } -- Gitee