@steedos-widgets/sortable 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.
@@ -58735,7 +58735,7 @@ async function getObjectFilter(objectSchema, fields, options) {
58735
58735
  * @Author: baozhoutao@steedos.com
58736
58736
  * @Date: 2022-07-05 15:55:39
58737
58737
  * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
58738
- * @LastEditTime: 2024-04-25 19:01:52
58738
+ * @LastEditTime: 2024-04-26 16:46:44
58739
58739
  * @Description:
58740
58740
  */
58741
58741
 
@@ -58994,10 +58994,6 @@ async function getListSchema(
58994
58994
  if (localListViewProps.perPage) {
58995
58995
  listSchema.perPage = localListViewProps.perPage;
58996
58996
  }
58997
- if (window.innerWidth > 768) {
58998
- // 列表视图组件PC端高度自动计算实现满屏效果,手机端不需要满屏效果,所以不用autofillheight
58999
- listSchema.autoFillHeight = true;
59000
- }
59001
58997
  defaults.listSchema = lodash.exports.defaultsDeep({}, listSchema, defaults.listSchema || {});
59002
58998
  }
59003
58999
  }
@@ -59005,6 +59001,13 @@ async function getListSchema(
59005
59001
  console.error("本地存储中crud参数解析异常:", ex);
59006
59002
  }
59007
59003
 
59004
+ if (window.innerWidth > 768) {
59005
+ // 列表视图组件PC端高度自动计算实现满屏效果,手机端不需要满屏效果,所以不用autofillheight,且允许重写微页面中重新组件autoFillHeight属性
59006
+ defaults.listSchema = lodash.exports.defaultsDeep({}, defaults.listSchema || {}, {
59007
+ autoFillHeight: true
59008
+ });
59009
+ }
59010
+
59008
59011
  ctx.defaults = defaults;
59009
59012
 
59010
59013
  if (listViewName == "recent") {