From 8b3e016568e2e2c8ae102cbe505ea7ecc57fd0fc Mon Sep 17 00:00:00 2001 From: 86156 <823267011@qq.com> Date: Wed, 22 Apr 2026 13:35:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=AE=A1=E6=89=B9=E5=8E=86?= =?UTF-8?q?=E5=8F=B2=E9=9D=99=E6=80=81=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/store/modules/permission.js | 26 +----------------------- 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/ruoyi-ui/src/store/modules/permission.js b/ruoyi-ui/src/store/modules/permission.js index 766d105..4e734f1 100644 --- a/ruoyi-ui/src/store/modules/permission.js +++ b/ruoyi-ui/src/store/modules/permission.js @@ -33,30 +33,6 @@ const permission = { return new Promise(resolve => { getRouters().then(res => { - - - const oaMenu = res.data.find(item => item.path === '/oa' || (item.meta && item.meta.title === '办公中心')); - - if (oaMenu) { - if (!oaMenu.children) oaMenu.children = []; - - - const hasHistory = oaMenu.children.some(child => child.path === 'flowHistory'); - - if (!hasHistory) { - oaMenu.children.push({ - name: 'HrmFlowHistory', - path: 'flowHistory', - hidden: false, - component: 'hrm/flow/taskHistory', - meta: { - title: '审批历史', - icon: 'date-range', - noCache: false - } - }); - } - } // ================= 新增拦截代码:将页面注入到办公中心结束 ================= const sdata = JSON.parse(JSON.stringify(res.data)) @@ -155,4 +131,4 @@ export const loadView = (view) => { } } -export default permission \ No newline at end of file +export default permission