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