isdata-customer-sdk 0.2.26 → 0.2.27

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.
@@ -29914,7 +29914,9 @@ const getMenuDatasByGroupID = async (group_id, role_ids) => {
29914
29914
  //缓存所有快捷访问菜单信息
29915
29915
  for (const tempData of tempMenuDatas) {
29916
29916
  let id = tempData.id;
29917
- if (!tempMap[id]) {
29917
+ let isList = tempData.status == "1";
29918
+ // 只缓存启用状态的菜单
29919
+ if (!tempMap[id] && isList) {
29918
29920
  finalMenuDatas.push(tempData);
29919
29921
  tempMap[id] = tempData;
29920
29922
  }