erp-plus 1.0.161 → 1.0.163
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.
- package/dist/erp-plus.css +1 -1
- package/dist/erp-plus.es.js +1339 -1339
- package/dist/erp-plus.umd.js +11 -11
- package/dist/packages/Descriptions/Descriptions.vue.d.ts +7 -0
- package/package.json +1 -1
|
@@ -7,6 +7,13 @@ export interface DescriptionItem {
|
|
|
7
7
|
label: string;
|
|
8
8
|
/** 字面量模式:显示值;路径模式(传了 data):字段路径(支持 'a.b.c') */
|
|
9
9
|
value?: string | number;
|
|
10
|
+
/**
|
|
11
|
+
* 数组值拼接开关(默认 true,逗号分隔):
|
|
12
|
+
* - 数组值(string/number 元素)默认 join 成逗号串,如 ['服装','食品'] → "服装,食品"
|
|
13
|
+
* - `join: '、'` 等字符串自定义分隔符;`join: false` 强制显示 '-'(如 ossId 等 id 数组不想直接展示时)
|
|
14
|
+
* - 元素含非基础类型(对象)时一律降级 '-'(防 [object Object])
|
|
15
|
+
*/
|
|
16
|
+
join?: boolean | string;
|
|
10
17
|
/** 显示条件;函数形态收到 data */
|
|
11
18
|
visible?: boolean | ((data: Record<string, any>) => boolean);
|
|
12
19
|
/** 自定义渲染,签名与老组件一致:render(h, { row }),row = data;优先级最高(首参即 Vue 的 h 函数) */
|