Match-id-46ac76d97c13f36617be279f07e1096e128778fb
This commit is contained in:
parent
eec4863d61
commit
e3366b5752
|
@ -1,7 +1,7 @@
|
||||||
import { throwIfTrue } from '../renderer/utils/throwIfTrue';
|
import {throwIfTrue} from '../renderer/utils/throwIfTrue';
|
||||||
import { TYPE_COMMON_ELEMENT, TYPE_PORTAL } from './JSXElementType';
|
import {TYPE_COMMON_ELEMENT, TYPE_PORTAL} from './JSXElementType';
|
||||||
|
|
||||||
import { isValidElement, JSXElement } from './JSXElement';
|
import {isValidElement, JSXElement} from './JSXElement';
|
||||||
|
|
||||||
// 生成key
|
// 生成key
|
||||||
function getItemKey(item: any, index: number): string {
|
function getItemKey(item: any, index: number): string {
|
||||||
|
@ -70,7 +70,7 @@ function callMapFun(children: any, arr: Array<any>, prefix: string, callback: Fu
|
||||||
mappedChild.ref,
|
mappedChild.ref,
|
||||||
mappedChild.belongClassVNode,
|
mappedChild.belongClassVNode,
|
||||||
mappedChild.props,
|
mappedChild.props,
|
||||||
mappedChild.source
|
mappedChild.source,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
arr.push(mappedChild);
|
arr.push(mappedChild);
|
||||||
|
@ -113,4 +113,4 @@ const Children = {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export { Children };
|
export {Children};
|
||||||
|
|
Loading…
Reference in New Issue