瀏覽代碼

chore: update comment

daiwei 8 月之前
父節點
當前提交
2cd5cf52c3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/runtime-vapor/src/apiCreateIf.ts

+ 1 - 1
packages/runtime-vapor/src/apiCreateIf.ts

@@ -35,7 +35,7 @@ export function createIf(
   } else {
     // if _insertionAnchor is defined, insertionParent contains a static node
     // that should be skipped during hydration.
-    // Advance to the next sibling node to bypass this static node.
+    // Advance to the next sibling node of parent to skip the static node.
     if (_insertionAnchor !== undefined) {
       advanceHydrationNode(_insertionParent!)
     }