@steedos-widgets/amis-lib 1.3.2-beta.5 → 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 11:34:23
10641
+ * @LastEditTime: 2023-09-14 13:57:32
10642
10642
  * @Description:
10643
10643
  */
10644
10644
 
@@ -11000,6 +11000,7 @@ async function convertColumnsToTableFields(columns, uiSchema, ctx = {}) {
11000
11000
  else if(ctx.extra){
11001
11001
  // 配置列表视图extra_columns时允许字段是hidden的,hidden的字段在uiSchema.fields中不存在
11002
11002
  fields.push({
11003
+ extra: true,
11003
11004
  name: column
11004
11005
  });
11005
11006
  }
@@ -11031,6 +11032,13 @@ async function convertColumnsToTableFields(columns, uiSchema, ctx = {}) {
11031
11032
  })
11032
11033
  );
11033
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
+ }
11034
11042
  }
11035
11043
  }
11036
11044
  }