diff --git a/src/utils/formUtil/eachComponentData.ts b/src/utils/formUtil/eachComponentData.ts index 41fc8316..576dae33 100644 --- a/src/utils/formUtil/eachComponentData.ts +++ b/src/utils/formUtil/eachComponentData.ts @@ -49,7 +49,7 @@ export const eachComponentData = ( component, data, row, - compPaths?.dataPath || '', + (component.modelType === 'none' ? compPaths?.fullPath : compPaths?.dataPath) || '', componentComponents, compPaths?.dataIndex, compParent, diff --git a/src/utils/formUtil/eachComponentDataAsync.ts b/src/utils/formUtil/eachComponentDataAsync.ts index eff4b28f..246448d1 100644 --- a/src/utils/formUtil/eachComponentDataAsync.ts +++ b/src/utils/formUtil/eachComponentDataAsync.ts @@ -47,7 +47,7 @@ export const eachComponentDataAsync = async ( component, data, row, - compPaths?.dataPath || '', + (component.modelType === 'none' ? compPaths?.fullPath : compPaths?.dataPath) || '', componentComponents, compPaths?.dataIndex, compParent,