@steedos-widgets/amis-lib 6.3.13-beta.2 → 6.3.13-beta.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.esm.js CHANGED
@@ -3549,7 +3549,7 @@ function getReadonlyFormAdaptor(object, fields, options){
3549
3549
  nameLabel = `(record._display && record._display.${nameField.name}) || record.${nameField.name}`;
3550
3550
  }
3551
3551
  return `
3552
- if(payload.data.data.length === 0){
3552
+ if(!payload.data.data || payload.data.data.length === 0){
3553
3553
  var isEditor = !!${options && options.isEditor};
3554
3554
  if(isEditor){
3555
3555
  var fieldNames = ${JSON.stringify(fieldNames)};
@@ -10570,7 +10570,7 @@ async function getObjectRelatedListsMiniSchema(objectApiName){
10570
10570
  * @Author: baozhoutao@steedos.com
10571
10571
  * @Date: 2022-07-05 15:55:39
10572
10572
  * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
10573
- * @LastEditTime: 2024-04-26 16:46:44
10573
+ * @LastEditTime: 2025-05-20 16:56:55
10574
10574
  * @Description:
10575
10575
  */
10576
10576
 
@@ -10869,7 +10869,7 @@ async function getListSchema(
10869
10869
  }
10870
10870
 
10871
10871
  if (window.innerWidth > 768) {
10872
- // 列表视图组件PC端高度自动计算实现满屏效果,手机端不需要满屏效果,所以不用autofillheight,且允许重写微页面中重新组件autoFillHeight属性
10872
+ // 列表视图组件PC端高度自动计算实现满屏效果,手机端不需要满屏效果,所以不用autofillheight,且允许微页面中重写组件autoFillHeight属性
10873
10873
  defaults.listSchema = defaultsDeep$1({}, defaults.listSchema || {}, {
10874
10874
  autoFillHeight: true
10875
10875
  });