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.umd.js
CHANGED
|
@@ -30080,7 +30080,7 @@ const getPlatformBortherMenusByMenuID = async (menu_id, role_ids, group_id) => {
|
|
|
30080
30080
|
}
|
|
30081
30081
|
};
|
|
30082
30082
|
let result = await request.post(`/dataservice/rest/orchestration/getPlatformBortherMenusByMenuID`, queryData_groupData);
|
|
30083
|
-
let sysMenuDatas = result.data.menuDatas;
|
|
30083
|
+
let sysMenuDatas = result.data.menuDatas || [];
|
|
30084
30084
|
|
|
30085
30085
|
//获取当前角色下对应的角色菜单权限的映射信息
|
|
30086
30086
|
let roleMenuMappingDatas = await getPlatformMenuMappingsByRoleIDs(role_ids, group_id);
|
|
@@ -30215,7 +30215,7 @@ const transformPortalData = (datas, menuTypes, filterObjectMap) => {
|
|
|
30215
30215
|
sort: data.sort,
|
|
30216
30216
|
actionType: data.actionType,
|
|
30217
30217
|
url: data.url,
|
|
30218
|
-
iconClass: data.image,
|
|
30218
|
+
iconClass: data.image ? data.image : "el-icon-menu",
|
|
30219
30219
|
parent_id: data.parent_id,
|
|
30220
30220
|
children: [],
|
|
30221
30221
|
app_id: data.app_id,
|