@steedos-widgets/amis-lib 6.10.1-beta.14 → 6.10.1-beta.16
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/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/index.cjs.js +4 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/types/lib/converter/amis/api.d.ts +1 -0
- package/dist/types/lib/objects.d.ts +2 -0
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -3510,8 +3510,8 @@ function getReadonlyFormAdaptor(object, fields, options){
|
|
|
3510
3510
|
else{
|
|
3511
3511
|
console.log('无法找到记录', api, payload, context)
|
|
3512
3512
|
return {
|
|
3513
|
-
status:
|
|
3514
|
-
msg: "${i18next.t('frontend_no_records_found')}"
|
|
3513
|
+
status: 0,
|
|
3514
|
+
// msg: "${i18next.t('frontend_no_records_found')}"
|
|
3515
3515
|
}
|
|
3516
3516
|
}
|
|
3517
3517
|
}
|
|
@@ -3576,7 +3576,8 @@ 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
|
-
}
|
|
3579
|
+
},
|
|
3580
|
+
trackExpression: '${objectName}'
|
|
3580
3581
|
}
|
|
3581
3582
|
}
|
|
3582
3583
|
|