(menuId)
| 3596 | |
| 3597 | // 检验 menuId 是否在配置中存在 |
| 3598 | function check(menuId) { |
| 3599 | if (menuIds.indexOf(menuId) >= 0) { |
| 3600 | return true; |
| 3601 | } |
| 3602 | return false; |
| 3603 | } |
| 3604 | |
| 3605 | // 遍历所有的菜单创建函数,并执行 |
| 3606 | $.each(E.createMenuFns, function (k, createMenuFn) { |
no outgoing calls
no test coverage detected