Commit 915a0a8c authored by Bill's avatar Bill

fix: 过滤活动空id情况

parent 09b81335
......@@ -106,7 +106,7 @@ function useSaveData(options: Options) {
const { ...otherProps } = props || {};
const childrenData = childNodes.map((_record) => {
const childTargetProps = pageConfig[_record].props;
return childTargetProps.id;
return childTargetProps?.id || undefined;
}).filter(Boolean);
// const childrenData = products?.map((_item) => _item.id) || [];
result = generaterData(result, dataIndex, {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment