@steedos-widgets/amis-lib 1.3.2-beta.3 → 1.3.2-beta.5
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/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/index.cjs.js +8 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +8 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +4 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -10637,8 +10637,8 @@ async function getRelatedListSchema(
|
|
|
10637
10637
|
/*
|
|
10638
10638
|
* @Author: baozhoutao@steedos.com
|
|
10639
10639
|
* @Date: 2022-07-05 15:55:39
|
|
10640
|
-
* @LastEditors:
|
|
10641
|
-
* @LastEditTime: 2023-
|
|
10640
|
+
* @LastEditors: 殷亮辉 yinlianghui@hotoa.com
|
|
10641
|
+
* @LastEditTime: 2023-09-14 11:34:23
|
|
10642
10642
|
* @Description:
|
|
10643
10643
|
*/
|
|
10644
10644
|
|
|
@@ -10997,6 +10997,12 @@ async function convertColumnsToTableFields(columns, uiSchema, ctx = {}) {
|
|
|
10997
10997
|
if (uiSchema.fields[column]) {
|
|
10998
10998
|
fields.push(Object.assign({}, uiSchema.fields[column], ctx));
|
|
10999
10999
|
}
|
|
11000
|
+
else if(ctx.extra){
|
|
11001
|
+
// 配置列表视图extra_columns时允许字段是hidden的,hidden的字段在uiSchema.fields中不存在
|
|
11002
|
+
fields.push({
|
|
11003
|
+
name: column
|
|
11004
|
+
});
|
|
11005
|
+
}
|
|
11000
11006
|
}
|
|
11001
11007
|
} else if (isObject$1(column)) {
|
|
11002
11008
|
if (column.field.indexOf('.') > 0) {
|