From e3366b5752d7715e57df3054c718131a3b4b9d15 Mon Sep 17 00:00:00 2001 From: * <8> Date: Wed, 3 Aug 2022 18:19:35 +0800 Subject: [PATCH] Match-id-46ac76d97c13f36617be279f07e1096e128778fb --- libs/horizon/src/external/ChildrenUtil.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libs/horizon/src/external/ChildrenUtil.ts b/libs/horizon/src/external/ChildrenUtil.ts index 38424dea..e42091fb 100644 --- a/libs/horizon/src/external/ChildrenUtil.ts +++ b/libs/horizon/src/external/ChildrenUtil.ts @@ -1,7 +1,7 @@ -import { throwIfTrue } from '../renderer/utils/throwIfTrue'; -import { TYPE_COMMON_ELEMENT, TYPE_PORTAL } from './JSXElementType'; +import {throwIfTrue} from '../renderer/utils/throwIfTrue'; +import {TYPE_COMMON_ELEMENT, TYPE_PORTAL} from './JSXElementType'; -import { isValidElement, JSXElement } from './JSXElement'; +import {isValidElement, JSXElement} from './JSXElement'; // 生成key function getItemKey(item: any, index: number): string { @@ -70,7 +70,7 @@ function callMapFun(children: any, arr: Array, prefix: string, callback: Fu mappedChild.ref, mappedChild.belongClassVNode, mappedChild.props, - mappedChild.source + mappedChild.source, ); } arr.push(mappedChild); @@ -113,4 +113,4 @@ const Children = { }, }; -export { Children }; +export {Children};