@steedos-widgets/amis-lib 1.3.2-beta.4 → 1.3.2-beta.6

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/index.esm.js CHANGED
@@ -10638,7 +10638,7 @@ async function getRelatedListSchema(
10638
10638
  * @Author: baozhoutao@steedos.com
10639
10639
  * @Date: 2022-07-05 15:55:39
10640
10640
  * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
10641
- * @LastEditTime: 2023-09-14 10:19:56
10641
+ * @LastEditTime: 2023-09-14 13:57:32
10642
10642
  * @Description:
10643
10643
  */
10644
10644
 
@@ -10998,7 +10998,9 @@ async function convertColumnsToTableFields(columns, uiSchema, ctx = {}) {
10998
10998
  fields.push(Object.assign({}, uiSchema.fields[column], ctx));
10999
10999
  }
11000
11000
  else if(ctx.extra){
11001
+ // 配置列表视图extra_columns时允许字段是hidden的,hidden的字段在uiSchema.fields中不存在
11001
11002
  fields.push({
11003
+ extra: true,
11002
11004
  name: column
11003
11005
  });
11004
11006
  }
@@ -11030,6 +11032,13 @@ async function convertColumnsToTableFields(columns, uiSchema, ctx = {}) {
11030
11032
  })
11031
11033
  );
11032
11034
  }
11035
+ else if(ctx.extra){
11036
+ // 配置列表视图extra_columns时允许字段是hidden的,hidden的字段在uiSchema.fields中不存在
11037
+ fields.push({
11038
+ extra: true,
11039
+ name: column.field
11040
+ });
11041
+ }
11033
11042
  }
11034
11043
  }
11035
11044
  }