From 2fc52c10964ef98247e6e0eeb4be9c85c9d513f6 Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期五, 22 十一月 2024 11:06:17 +0800 Subject: [PATCH] 修改basic表单组件 --- 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