isdata-customer-sdk 0.2.34 → 0.2.35
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
|
@@ -30184,11 +30184,13 @@ const transformPortalData = (datas, menuTypes, filterObjectMap) => {
|
|
|
30184
30184
|
actionType: data.actionType,
|
|
30185
30185
|
url: data.url,
|
|
30186
30186
|
iconClass: data.image,
|
|
30187
|
+
parent_id: data.parent_id,
|
|
30187
30188
|
children: [],
|
|
30188
30189
|
app_id: data.app_id,
|
|
30189
30190
|
menu_id: data.menu_id,
|
|
30190
30191
|
beyond_type: data.menu_type ? data.menu_type : "RJVIEW-OTHERS",
|
|
30191
|
-
beyond_type_sort: data.menu_type_sort ? data.menu_type_sort : 999
|
|
30192
|
+
beyond_type_sort: data.menu_type_sort ? data.menu_type_sort : 999,
|
|
30193
|
+
type: "MenuItem"
|
|
30192
30194
|
};
|
|
30193
30195
|
//如果存在快捷菜单映射数据或者是主菜单入口
|
|
30194
30196
|
//如果是主菜单或者存在快捷访问映射或者孩子存在快捷访问映射或者是应用默认的菜单,则纳入到菜单中
|
|
@@ -30229,13 +30231,15 @@ const transformPortalData = (datas, menuTypes, filterObjectMap) => {
|
|
|
30229
30231
|
index: tempType,
|
|
30230
30232
|
name: menuTypeObj.title,
|
|
30231
30233
|
children: [],
|
|
30232
|
-
sort: menuTypeObj.value
|
|
30234
|
+
sort: menuTypeObj.value,
|
|
30235
|
+
type: "MenuType"
|
|
30233
30236
|
} : {
|
|
30234
30237
|
id: tempType,
|
|
30235
30238
|
index: tempType,
|
|
30236
30239
|
name: "其他",
|
|
30237
30240
|
children: [],
|
|
30238
|
-
sort: 999
|
|
30241
|
+
sort: 999,
|
|
30242
|
+
type: "MenuType"
|
|
30239
30243
|
};
|
|
30240
30244
|
let type_childens = parentType.children;
|
|
30241
30245
|
type_childens.push(tempMenuData);
|