From ef5b73159d7221c36c25e32f643669d789a33c2c Mon Sep 17 00:00:00 2001 From: "X.L" Date: Thu, 2 Sep 2021 04:57:56 +0800 Subject: [PATCH] fix(suspense): misusing DOM Comment element constructor as a vnode type (#4451) --- packages/runtime-core/src/components/Suspense.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/runtime-core/src/components/Suspense.ts b/packages/runtime-core/src/components/Suspense.ts index 6a27b7c2..bb5ef9b3 100644 --- a/packages/runtime-core/src/components/Suspense.ts +++ b/packages/runtime-core/src/components/Suspense.ts @@ -6,6 +6,7 @@ import { openBlock, closeBlock, currentBlock, + Comment, createVNode } from '../vnode' import { isFunction, isArray, ShapeFlags, toNumber } from '@vue/shared'