@steedos-widgets/amis-lib 1.1.4-beta.5 → 1.1.4
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/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/index.cjs.js +9 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +9 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +9 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -2597,6 +2597,10 @@ async function getObjectFieldsFilterBarSchema(objectSchema, fields, ctx) {
|
|
|
2597
2597
|
});
|
|
2598
2598
|
sessionStorage.setItem(listViewPropsStoreKey, JSON.stringify(localListViewProps));
|
|
2599
2599
|
}
|
|
2600
|
+
//触发amis crud 高度重算
|
|
2601
|
+
setTimeout(()=>{
|
|
2602
|
+
window.dispatchEvent(new Event("resize"))
|
|
2603
|
+
}, 100)
|
|
2600
2604
|
// ===END===
|
|
2601
2605
|
`;
|
|
2602
2606
|
return {
|
|
@@ -3326,6 +3330,10 @@ const filterService = filterForm.context.getComponents().find(function(n){
|
|
|
3326
3330
|
return n.props.type === "service";
|
|
3327
3331
|
});
|
|
3328
3332
|
filterService.setData({showFieldsFilter: !!!filterService.props.data.showFieldsFilter});
|
|
3333
|
+
//触发amis crud 高度重算
|
|
3334
|
+
setTimeout(()=>{
|
|
3335
|
+
window.dispatchEvent(new Event("resize"))
|
|
3336
|
+
}, 100)
|
|
3329
3337
|
`;
|
|
3330
3338
|
|
|
3331
3339
|
function getExportApiRequestAdaptorScript(){
|
|
@@ -5744,7 +5752,7 @@ async function getObjectCRUD(objectSchema, fields, options){
|
|
|
5744
5752
|
keepItemSelectionOnPageChange: true,
|
|
5745
5753
|
api: await getTableApi(objectSchema, fields, options),
|
|
5746
5754
|
hiddenOn: options.tableHiddenOn,
|
|
5747
|
-
autoFillHeight:
|
|
5755
|
+
autoFillHeight: true,
|
|
5748
5756
|
className: `flex-auto ${crudClassName || ""}`,
|
|
5749
5757
|
crudClassName: crudClassName,
|
|
5750
5758
|
},
|