diff --git a/packages/runtime-core/src/createRenderer.ts b/packages/runtime-core/src/createRenderer.ts index ed55fe0a..3473f53b 100644 --- a/packages/runtime-core/src/createRenderer.ts +++ b/packages/runtime-core/src/createRenderer.ts @@ -657,7 +657,7 @@ export function createRenderer< if (n1 == null) { const target = (n2.target = isString(targetSelector) ? hostQuerySelector(targetSelector) - : null) + : targetSelector) if (target != null) { if (shapeFlag & ShapeFlags.TEXT_CHILDREN) { hostSetElementText(target, children as string)