From 4e6ef73dd8c066b50edcf5c08ce81d821af59a8d Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期二, 03 十二月 2024 15:02:53 +0800 Subject: [PATCH] 整合代码&&UI定义切换链接类型切换传参问题 --- Source/plt-web/plt-web-ui/src/router/avue-router.js | 3 ++- 1 files changed, 2 insertions(+), 1 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 52c14c9..d1d798e 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,6 +57,7 @@ }, //澶勭悊璺敱 getPath: function (params) { + console.log('params',params) let {src} = params; let result = src || '/'; if (isURL(src)) { @@ -181,7 +182,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