@steedos-widgets/amis-object 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/amis-object.cjs.js
CHANGED
|
@@ -13807,7 +13807,7 @@ async function getRelatedListSchema(
|
|
|
13807
13807
|
* @Author: baozhoutao@steedos.com
|
|
13808
13808
|
* @Date: 2022-07-05 15:55:39
|
|
13809
13809
|
* @LastEditors: 殷亮辉 yinlianghui@hotoa.com
|
|
13810
|
-
* @LastEditTime: 2023-09-14
|
|
13810
|
+
* @LastEditTime: 2023-09-14 13:57:32
|
|
13811
13811
|
* @Description:
|
|
13812
13812
|
*/
|
|
13813
13813
|
|
|
@@ -14169,6 +14169,7 @@ async function convertColumnsToTableFields(columns, uiSchema, ctx = {}) {
|
|
|
14169
14169
|
else if(ctx.extra){
|
|
14170
14170
|
// 配置列表视图extra_columns时允许字段是hidden的,hidden的字段在uiSchema.fields中不存在
|
|
14171
14171
|
fields.push({
|
|
14172
|
+
extra: true,
|
|
14172
14173
|
name: column
|
|
14173
14174
|
});
|
|
14174
14175
|
}
|
|
@@ -14200,6 +14201,13 @@ async function convertColumnsToTableFields(columns, uiSchema, ctx = {}) {
|
|
|
14200
14201
|
})
|
|
14201
14202
|
);
|
|
14202
14203
|
}
|
|
14204
|
+
else if(ctx.extra){
|
|
14205
|
+
// 配置列表视图extra_columns时允许字段是hidden的,hidden的字段在uiSchema.fields中不存在
|
|
14206
|
+
fields.push({
|
|
14207
|
+
extra: true,
|
|
14208
|
+
name: column.field
|
|
14209
|
+
});
|
|
14210
|
+
}
|
|
14203
14211
|
}
|
|
14204
14212
|
}
|
|
14205
14213
|
}
|