From 91bd0273e99d54ca5f931358ff84ce0686fff20d Mon Sep 17 00:00:00 2001 From: fxy060608 Date: Tue, 23 Mar 2021 17:15:00 +0800 Subject: [PATCH] chore: update key --- packages/uni-h5/src/framework/components/page/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/uni-h5/src/framework/components/page/index.ts b/packages/uni-h5/src/framework/components/page/index.ts index 7a39d23d5..cff23d906 100644 --- a/packages/uni-h5/src/framework/components/page/index.ts +++ b/packages/uni-h5/src/framework/components/page/index.ts @@ -35,7 +35,7 @@ function createPageBodyVNode(ctx: SetupContext) { openBlock(), createBlock( PageBody, - { key: 1 }, + { key: 0 }, { default: withCtx(() => [renderSlot(ctx.slots, 'page')]), _: 3 /* FORWARDED */, -- GitLab