@steedos-widgets/amis-lib 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.
package/dist/index.esm.js CHANGED
@@ -9740,7 +9740,7 @@ async function getObjectRelatedListsMiniSchema(objectApiName){
9740
9740
  * @Author: baozhoutao@steedos.com
9741
9741
  * @Date: 2022-07-05 15:55:39
9742
9742
  * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
9743
- * @LastEditTime: 2024-04-25 19:01:52
9743
+ * @LastEditTime: 2024-04-26 16:46:44
9744
9744
  * @Description:
9745
9745
  */
9746
9746
 
@@ -10031,10 +10031,6 @@ async function getListSchema(
10031
10031
  if (localListViewProps.perPage) {
10032
10032
  listSchema.perPage = localListViewProps.perPage;
10033
10033
  }
10034
- if (window.innerWidth > 768) {
10035
- // 列表视图组件PC端高度自动计算实现满屏效果,手机端不需要满屏效果,所以不用autofillheight
10036
- listSchema.autoFillHeight = true;
10037
- }
10038
10034
  defaults.listSchema = defaultsDeep$1({}, listSchema, defaults.listSchema || {});
10039
10035
  }
10040
10036
  }
@@ -10042,6 +10038,13 @@ async function getListSchema(
10042
10038
  console.error("本地存储中crud参数解析异常:", ex);
10043
10039
  }
10044
10040
 
10041
+ if (window.innerWidth > 768) {
10042
+ // 列表视图组件PC端高度自动计算实现满屏效果,手机端不需要满屏效果,所以不用autofillheight,且允许重写微页面中重新组件autoFillHeight属性
10043
+ defaults.listSchema = defaultsDeep$1({}, defaults.listSchema || {}, {
10044
+ autoFillHeight: true
10045
+ });
10046
+ }
10047
+
10045
10048
  ctx.defaults = defaults;
10046
10049
 
10047
10050
  if (listViewName == "recent") {