From a4d039cee6e2943eb025717a8fe69b4c992797a5 Mon Sep 17 00:00:00 2001 From: 田源 <tianyuan@vci-tech.com> Date: 星期一, 30 十二月 2024 11:14:11 +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