]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
fix(suspense): misusing DOM Comment element constructor as a vnode type (#4451)
authorX.L <liximomo@gmail.com>
Wed, 1 Sep 2021 20:57:56 +0000 (04:57 +0800)
committerGitHub <noreply@github.com>
Wed, 1 Sep 2021 20:57:56 +0000 (16:57 -0400)
packages/runtime-core/src/components/Suspense.ts

index 6a27b7c2d26fd0a491914d9da8339b2a6bd76ba3..bb5ef9b3ce6f25eeb0d0352d550313aa07222c48 100644 (file)
@@ -6,6 +6,7 @@ import {
   openBlock,
   closeBlock,
   currentBlock,
+  Comment,
   createVNode
 } from '../vnode'
 import { isFunction, isArray, ShapeFlags, toNumber } from '@vue/shared'