Source/plt-web/plt-web-ui/src/router/avue-router.js
@@ -57,7 +57,6 @@ }, //处理路由 getPath: function (params) { console.log('params',params) let {src} = params; let result = src || '/'; if (isURL(src)) { @@ -182,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 配置