瀏覽代碼

wip: save

daiwei 1 月之前
父節點
當前提交
7424449148

+ 0 - 1
packages/runtime-core/src/apiCreateApp.ts

@@ -233,7 +233,6 @@ export interface VaporInteropInterface {
     parentComponent: any,
     props?: any,
     slots?: any,
-    isSingleRoot?: boolean,
   ) => any
   vdomUnmount: UnmountComponentFn
   vdomSlot: (

+ 0 - 1
packages/runtime-vapor/src/component.ts

@@ -304,7 +304,6 @@ export function createComponent(
       currentInstance as any,
       rawProps,
       rawSlots,
-      isSingleRoot,
     )
     if (!isHydrating) {
       if (_insertionParent) insert(frag, _insertionParent, _insertionAnchor)

+ 0 - 1
packages/runtime-vapor/src/vdomInterop.ts

@@ -552,7 +552,6 @@ function createVDOMComponent(
   parentComponent: VaporComponentInstance | null,
   rawProps?: LooseRawProps | null,
   rawSlots?: LooseRawSlots | null,
-  isSingleRoot?: boolean,
 ): VaporFragment {
   const suspense =
     currentParentSuspense || (parentComponent && parentComponent.suspense)