@dinert/element-plus 1.1.27 → 1.1.29

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.
@@ -42,7 +42,7 @@ export interface CustomFormItemProps<D = any, O = any[], N extends keyof Rewrite
42
42
  label: string | ((model: D) => string);
43
43
  sort?: number;
44
44
  options?: RewriteFormItemPropsMap<O>[N];
45
- showLabel?: boolean;
45
+ showLabel?: boolean | ((model: D) => boolean);
46
46
  labelDisabled?: boolean;
47
47
  labelWrap?: boolean;
48
48
  valueDisabled?: boolean;
@@ -63,7 +63,7 @@ export interface RewriteFormProps<D = any, FI = any> extends Omit<Partial<FormPr
63
63
  formItem: Partial<FormItemMap<D, FI>>;
64
64
  colLayout?: RewriteColProps;
65
65
  row?: RewriteRowProps;
66
- showLabel?: boolean;
66
+ showLabel?: boolean | ((model: D) => boolean);
67
67
  required?: boolean;
68
68
  key?: any;
69
69
  packUp?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dinert/element-plus",
3
- "version": "1.1.27",
3
+ "version": "1.1.29",
4
4
  "description": "基于vue3封装的element-plus包",
5
5
  "scripts": {
6
6
  "dev": "vite",