@@ -58,7 +58,7 @@ const BasicLayout = props => {
};
const findAuthority = (path) => {
- return ((props.user.menuList || []).filter(x => x.code === path)[0] || {}).roles || []
+ return ((props.user.menuList || []).filter(x => x.code === path)[0] || {}).roles
}
/**