@steedos-widgets/amis-lib 6.10.1-beta.16 → 6.10.1-beta.17

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
@@ -3566,7 +3566,7 @@ async function getReadonlyFormInitApi(object, recordId, fields, options){
3566
3566
  }
3567
3567
  return {
3568
3568
  method: "post",
3569
- url: getApi$2(),
3569
+ url: getApi$2() + '&objectName=${objectName}' + "&recordId=${recordId}",
3570
3570
  cache: API_CACHE,
3571
3571
  requestAdaptor: `
3572
3572
  ${options && options.initApiRequestAdaptor || ''}
@@ -3576,8 +3576,7 @@ async function getReadonlyFormInitApi(object, recordId, fields, options){
3576
3576
  data: await getFindOneQuery$1(object, recordId, fields, findOneOptions),
3577
3577
  headers: {
3578
3578
  Authorization: "Bearer ${context.tenantId},${context.authToken}"
3579
- },
3580
- trackExpression: '${objectName}'
3579
+ }
3581
3580
  }
3582
3581
  }
3583
3582