diff --git a/src/assets/img/智能管控平台-1.svg b/src/assets/img/智能管控平台-1.svg new file mode 100644 index 0000000..06f318c --- /dev/null +++ b/src/assets/img/智能管控平台-1.svg @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/assets/img/智能管控平台.svg b/src/assets/img/智能管控平台.svg new file mode 100644 index 0000000..e46fcc8 --- /dev/null +++ b/src/assets/img/智能管控平台.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/pages/nav_system_content/SystemContentList.js b/src/pages/nav_system_content/SystemContentList.js index 79acc22..110b17a 100644 --- a/src/pages/nav_system_content/SystemContentList.js +++ b/src/pages/nav_system_content/SystemContentList.js @@ -1,4 +1,4 @@ -import React, { useState, useEffect } from 'react'; +import React, { useState, useEffect } from 'react' import { history, Outlet, useLocation, matchRoutes, useModel } from '@umijs/max' import { Menu, Tabs, Select } from 'antd' import './SystemContentList.less' @@ -6,10 +6,10 @@ import { formatRoute, getDefaultRoute } from '@/utils/routeUtils' import styles from './TopNavBar.less' import { Row, Col, Avatar, Dropdown, Button } from 'antd' import { userInfo } from '@/utils/globalCommon' -import { HomeOutlined, SettingOutlined, LogoutOutlined } from '@ant-design/icons' +import { HomeOutlined, LogoutOutlined, AppstoreOutlined, UserOutlined, SettingOutlined, DatabaseOutlined, FileTextOutlined, LockOutlined, AreaChartOutlined } from '@ant-design/icons' import { getPageQuery } from '@/utils/utils' -import menuTitle from '@/assets/img/memuTitle.png' -import menuTitle1 from '@/assets/img/memuTitle1.png' +import menuTitle from '@/assets/img/智能管控平台.svg' +import menuTitle1 from '@/assets/img/智能管控平台-1.svg' import { CustomBreadcrumb } from '@/components/GlobalComponent' const SystemContentList = (props) => { @@ -24,6 +24,7 @@ const SystemContentList = (props) => { let defaultKey = '' useEffect(() => { + console.log('dynamicRoute structure:', dynamicRoute) if (!dynamicRoute || dynamicRoute?.length === 0) return let newList = [] let routes = [] @@ -104,8 +105,8 @@ const SystemContentList = (props) => {
- menuTitle - menuTitle1 + menuTitle + menuTitle1