田源
2024-12-17 aeff7b0782847a1fda77f96624b97b53e2f99e1a
Source/plt-web/plt-web-ui/src/router/avue-router.js
@@ -181,7 +181,7 @@
          meta: meta,
          redirect: (() => {
            // 第一次进来但是没有子路由的 需要添加redirect
            if (!isChild && first && !isURL(path)) return `${path}/index`
            if (!isChild && first && !isURL(path)) return `/${code}/index`
            else return '';
          })(),
          // 整理子路由的route 配置