@steedos-widgets/amis-lib 1.1.4-beta.5 → 1.1.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.umd.js CHANGED
@@ -2623,6 +2623,10 @@
2623
2623
  });
2624
2624
  sessionStorage.setItem(listViewPropsStoreKey, JSON.stringify(localListViewProps));
2625
2625
  }
2626
+ //触发amis crud 高度重算
2627
+ setTimeout(()=>{
2628
+ window.dispatchEvent(new Event("resize"))
2629
+ }, 100)
2626
2630
  // ===END===
2627
2631
  `;
2628
2632
  return {
@@ -3352,6 +3356,10 @@ const filterService = filterForm.context.getComponents().find(function(n){
3352
3356
  return n.props.type === "service";
3353
3357
  });
3354
3358
  filterService.setData({showFieldsFilter: !!!filterService.props.data.showFieldsFilter});
3359
+ //触发amis crud 高度重算
3360
+ setTimeout(()=>{
3361
+ window.dispatchEvent(new Event("resize"))
3362
+ }, 100)
3355
3363
  `;
3356
3364
 
3357
3365
  function getExportApiRequestAdaptorScript(){
@@ -5770,7 +5778,7 @@ filterService.setData({showFieldsFilter: !!!filterService.props.data.showFieldsF
5770
5778
  keepItemSelectionOnPageChange: true,
5771
5779
  api: await getTableApi(objectSchema, fields, options),
5772
5780
  hiddenOn: options.tableHiddenOn,
5773
- autoFillHeight: false,
5781
+ autoFillHeight: true,
5774
5782
  className: `flex-auto ${crudClassName || ""}`,
5775
5783
  crudClassName: crudClassName,
5776
5784
  },