Commit cd42f110 authored by 邓晓峰's avatar 邓晓峰

fix: 修复首页加载逻辑

parent 3a39c1b5
Pipeline #42320 passed with stages
in 1 minute 52 seconds
......@@ -127,7 +127,7 @@ export const transformWidgets = (widgets) => {
const homepage = window.globalConfig.homepage;
const homePageConvertArray = homepage.split("/");
const findIndex = widgets && widgets.findIndex(item => item.label === '系统菜单组');
if(findIndex === -1) {
if(findIndex === -1 && homePageConvertArray[0] !== 'civweb4') {
widgets.push({
label: "系统菜单组",
icon: '',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment