|
@@ -657,7 +657,7 @@ export function createRenderer<
|
|
|
if (n1 == null) {
|
|
if (n1 == null) {
|
|
|
const target = (n2.target = isString(targetSelector)
|
|
const target = (n2.target = isString(targetSelector)
|
|
|
? hostQuerySelector(targetSelector)
|
|
? hostQuerySelector(targetSelector)
|
|
|
- : null)
|
|
|
|
|
|
|
+ : targetSelector)
|
|
|
if (target != null) {
|
|
if (target != null) {
|
|
|
if (shapeFlag & ShapeFlags.TEXT_CHILDREN) {
|
|
if (shapeFlag & ShapeFlags.TEXT_CHILDREN) {
|
|
|
hostSetElementText(target, children as string)
|
|
hostSetElementText(target, children as string)
|