From: X.L Date: Wed, 1 Sep 2021 20:57:56 +0000 (+0800) Subject: fix(suspense): misusing DOM Comment element constructor as a vnode type (#4451) X-Git-Tag: v3.2.7~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef5b73159d7221c36c25e32f643669d789a33c2c;p=thirdparty%2Fvuejs%2Fcore.git fix(suspense): misusing DOM Comment element constructor as a vnode type (#4451) --- diff --git a/packages/runtime-core/src/components/Suspense.ts b/packages/runtime-core/src/components/Suspense.ts index 6a27b7c2d2..bb5ef9b3ce 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'