@steedos-widgets/amis-object 1.1.12 → 1.1.13
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/amis-object.cjs.js
CHANGED
|
@@ -7701,7 +7701,7 @@ const getRecordPermissions = async (objectName, recordId)=>{
|
|
|
7701
7701
|
* @Author: baozhoutao@steedos.com
|
|
7702
7702
|
* @Date: 2022-07-05 15:55:39
|
|
7703
7703
|
* @LastEditors: Please set LastEditors
|
|
7704
|
-
* @LastEditTime: 2023-04-
|
|
7704
|
+
* @LastEditTime: 2023-04-20 11:43:14
|
|
7705
7705
|
* @Description:
|
|
7706
7706
|
*/
|
|
7707
7707
|
|
|
@@ -7801,7 +7801,9 @@ async function getRecordDetailRelatedListSchema(objectName, recordId, relatedObj
|
|
|
7801
7801
|
const details = ___default.union(mainObjectUiSchema.details,mainObjectUiSchema.lookup_details) || [];
|
|
7802
7802
|
for (const detail of details) {
|
|
7803
7803
|
const arr = detail.split(".");
|
|
7804
|
-
mainRelated
|
|
7804
|
+
if(!___default.has(mainRelated,arr[0])){
|
|
7805
|
+
mainRelated[arr[0]] = arr[1];
|
|
7806
|
+
}
|
|
7805
7807
|
}
|
|
7806
7808
|
}
|
|
7807
7809
|
}
|