@steedos-widgets/amis-object 6.10.1-beta.14 → 6.10.1-beta.15

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.
@@ -6687,8 +6687,8 @@ function getReadonlyFormAdaptor(object, fields, options){
6687
6687
  else{
6688
6688
  console.log('无法找到记录', api, payload, context)
6689
6689
  return {
6690
- status: 2,
6691
- msg: "${instance.t('frontend_no_records_found')}"
6690
+ status: 0,
6691
+ // msg: "${instance.t('frontend_no_records_found')}"
6692
6692
  }
6693
6693
  }
6694
6694
  }
@@ -6753,7 +6753,8 @@ async function getReadonlyFormInitApi(object, recordId, fields, options){
6753
6753
  data: await getFindOneQuery$1(object, recordId, fields, findOneOptions),
6754
6754
  headers: {
6755
6755
  Authorization: "Bearer ${context.tenantId},${context.authToken}"
6756
- }
6756
+ },
6757
+ trackExpression: '${objectName}'
6757
6758
  }
6758
6759
  }
6759
6760