@steedos-widgets/amis-object 6.3.0-beta.20 → 6.3.0-beta.21

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.
@@ -1860,6 +1860,7 @@ fieldset.antd-Collapse > legend{
1860
1860
  } */
1861
1861
 
1862
1862
  .buttons-drawer{
1863
+ position: fixed !important;
1863
1864
  top: 0 !important;
1864
1865
  bottom: 0 !important;
1865
1866
  left: 0 !important;
@@ -12721,6 +12721,8 @@ async function getObjectCRUD(objectSchema, fields, options){
12721
12721
  //将_display放入crud的columns的倒数第二列中(最后一列会影响固定列),可以通过setvalue修改行内数据域的_display,而不影响上层items的_display,用于批量编辑
12722
12722
  body.columns.splice(body.columns.length -1 , 0, {name: '_display',type: 'static', width: 1, placeholder: "",id: objectSchema.name + "_display_${_index}", tpl: "${''}"});
12723
12723
  }
12724
+ // 去除数组中的异常值,如null,undefined等
12725
+ body.columns = _$1__default["default"].compact(body.columns);
12724
12726
 
12725
12727
  if (defaults) {
12726
12728
  const headerSchema = defaults.headerSchema;