From acecd2af0d71d980c741936637f29f008adaf88f Mon Sep 17 00:00:00 2001 From: wangting <wangting@vci-tech.com> Date: 星期四, 19 十二月 2024 18:12:08 +0800 Subject: [PATCH] 首页配置,业务模块展示不同首页 --- Source/plt-web/plt-web-ui/src/router/avue-router.js | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/router/avue-router.js b/Source/plt-web/plt-web-ui/src/router/avue-router.js index a18ad96..8236f72 100644 --- a/Source/plt-web/plt-web-ui/src/router/avue-router.js +++ b/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: (() => { // 绗竴娆¤繘鏉ヤ絾鏄病鏈夊瓙璺敱鐨� 闇�瑕佹坊鍔爎edirect - if (!isChild && first && !isURL(path)) return `${path}/index` + if (!isChild && first && !isURL(path)) return `/${code}/index` else return ''; })(), // 鏁寸悊瀛愯矾鐢辩殑route 閰嶇疆 -- Gitblit v1.9.3