isdata-customer-sdk 0.2.63 → 0.2.65
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.common.js
CHANGED
|
@@ -30062,7 +30062,7 @@ const getPlatformBortherMenusByMenuID = async (menu_id, role_ids, group_id) => {
|
|
|
30062
30062
|
}
|
|
30063
30063
|
};
|
|
30064
30064
|
let result = await request.post(`/dataservice/rest/orchestration/getPlatformBortherMenusByMenuID`, queryData_groupData);
|
|
30065
|
-
let sysMenuDatas = result.data.menuDatas;
|
|
30065
|
+
let sysMenuDatas = result.data.menuDatas || [];
|
|
30066
30066
|
|
|
30067
30067
|
//获取当前角色下对应的角色菜单权限的映射信息
|
|
30068
30068
|
let roleMenuMappingDatas = await getPlatformMenuMappingsByRoleIDs(role_ids, group_id);
|
|
@@ -30197,7 +30197,7 @@ const transformPortalData = (datas, menuTypes, filterObjectMap) => {
|
|
|
30197
30197
|
sort: data.sort,
|
|
30198
30198
|
actionType: data.actionType,
|
|
30199
30199
|
url: data.url,
|
|
30200
|
-
iconClass: data.image,
|
|
30200
|
+
iconClass: data.image ? data.image : "el-icon-menu",
|
|
30201
30201
|
parent_id: data.parent_id,
|
|
30202
30202
|
children: [],
|
|
30203
30203
|
app_id: data.app_id,
|