From 48ce57224d5c98f483f666a60a53f5a26068040d Mon Sep 17 00:00:00 2001 From: fxy060608 Date: Wed, 6 Apr 2022 18:13:11 +0800 Subject: [PATCH] feat(mp-alipay): Pass page parameters to props (#3402) --- packages/uni-mp-alipay/src/runtime/createPage.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/uni-mp-alipay/src/runtime/createPage.ts b/packages/uni-mp-alipay/src/runtime/createPage.ts index e6a360709..19e8dfda5 100644 --- a/packages/uni-mp-alipay/src/runtime/createPage.ts +++ b/packages/uni-mp-alipay/src/runtime/createPage.ts @@ -39,6 +39,7 @@ export function initCreatePage() { fullPath: addLeadingSlash(this.route + stringifyQuery(query)), } // 初始化 vue 实例 + this.props = query this.$vm = createVueComponent('page', this, vueOptions) initSpecialMethods(this) this.$vm.$callHook(ON_LOAD, query) -- GitLab