@dazhicheng/ui 1.5.169 → 1.5.171

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,4 +12,6 @@ export type RowRenderCtx = {
12
12
  entry: FieldEntry<Recordable>;
13
13
  index: number;
14
14
  itemFieldName: string;
15
+ /** 嵌套场景下父行路径,如 `passengerList[0]`;顶层数组时为 undefined */
16
+ parentItemPath: string | undefined;
15
17
  };
@@ -118,6 +118,8 @@ export interface ArraySchemaContext {
118
118
  arrayHandle?: NestedArrayHandle;
119
119
  /** 表单值代理) */
120
120
  form?: Record<string, unknown>;
121
+ /** 嵌套场景下父行路径,如 `passengerList[0]`;顶层数组时为 undefined */
122
+ parentItemPath?: string;
121
123
  }
122
124
  export type FormActions = FormContext<GenericObject> & {
123
125
  arrayAction?: FormArrayActions;