@vue-ui-kit/ant 2.2.0 → 2.2.2

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.
@@ -99,7 +99,14 @@ export interface GroupMenuItem<F extends Recordable = Recordable> {
99
99
  export interface PFormGroupProps<F extends Recordable = Recordable> {
100
100
  getFormSetting: (data: Partial<F>) => PFormProps<Partial<F>>;
101
101
  title?: string;
102
- tabLabel?: string | ((data: Partial<F>) => string);
102
+ tabLabel?: string;
103
+ /**
104
+ * 获取完整标签页标签
105
+ * @param data 数据
106
+ * @param idx 实际索引
107
+ * @returns 标签页标签
108
+ */
109
+ getTabLabel?: (data: Partial<F>, idx: number) => string;
103
110
  editAble?: boolean;
104
111
  showAdd?: boolean;
105
112
  collapsible?: boolean;