RuoYi
2020-09-18 9ca28d6dbf7cfd6222fd02bee2e6dfa3cc1d9b8a
ruoyi-ui/src/store/modules/permission.js
@@ -32,10 +32,6 @@
// 遍历后台传来的路由字符串,转换为组件对象
function filterAsyncRouter(asyncRouterMap) {
  return asyncRouterMap.filter(route => {
    if(!route.path){
      // 防止空路由出现的警告,设置默认path
      route.path = '/path';
    }
    if (route.component) {
      // Layout组件特殊处理
      if (route.component === 'Layout') {