@steedos-widgets/amis-object 6.3.0-beta.4 → 6.3.0-beta.5

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.
@@ -12921,7 +12921,7 @@ async function getObjectRelatedListsMiniSchema(objectApiName){
12921
12921
  * @Author: baozhoutao@steedos.com
12922
12922
  * @Date: 2022-07-05 15:55:39
12923
12923
  * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
12924
- * @LastEditTime: 2024-04-25 19:01:52
12924
+ * @LastEditTime: 2024-04-26 16:46:44
12925
12925
  * @Description:
12926
12926
  */
12927
12927
 
@@ -13212,10 +13212,6 @@ async function getListSchema(
13212
13212
  if (localListViewProps.perPage) {
13213
13213
  listSchema.perPage = localListViewProps.perPage;
13214
13214
  }
13215
- if (window.innerWidth > 768) {
13216
- // 列表视图组件PC端高度自动计算实现满屏效果,手机端不需要满屏效果,所以不用autofillheight
13217
- listSchema.autoFillHeight = true;
13218
- }
13219
13215
  defaults.listSchema = _$1.defaultsDeep({}, listSchema, defaults.listSchema || {});
13220
13216
  }
13221
13217
  }
@@ -13223,6 +13219,13 @@ async function getListSchema(
13223
13219
  console.error("本地存储中crud参数解析异常:", ex);
13224
13220
  }
13225
13221
 
13222
+ if (window.innerWidth > 768) {
13223
+ // 列表视图组件PC端高度自动计算实现满屏效果,手机端不需要满屏效果,所以不用autofillheight,且允许重写微页面中重新组件autoFillHeight属性
13224
+ defaults.listSchema = _$1.defaultsDeep({}, defaults.listSchema || {}, {
13225
+ autoFillHeight: true
13226
+ });
13227
+ }
13228
+
13226
13229
  ctx.defaults = defaults;
13227
13230
 
13228
13231
  if (listViewName == "recent") {