Skip to content
Snippets Groups Projects
Commit 4d3f2d74 authored by 汤绍坚's avatar 汤绍坚
Browse files

tsj: 1、偶发MapNotification会有报错,进行了保护

2、发版前先隐藏环境卫生下钻页
parent 246170c2
Branches
Tags city_1.1.6-arm
No related merge requests found
......@@ -121,7 +121,7 @@ const MapNotification: React.FC<MapNotificationProps> = ({ districtName }) => {
<div className={styles.content}>
<img src={notificationIcon} className={styles.icon} alt="通知" />
<span className={styles.district}>{currentDistrictName}</span>
<span className={styles.message}>{notifications[currentIndex].content}</span>
<span className={styles.message}>{notifications[currentIndex]?.content}</span>
</div>
</div>
);
......
......@@ -94,7 +94,8 @@ const NavigationBar: React.FC = () => {
icon: 'map-navigate-logo-4.png',
hasChildren: true,
children: [
{ key: 'industryStatus1', label: '环境卫生', pageKey: 'environment' },
{ key: 'industryStatus1', label: '环境卫生' },
// { key: 'industryStatus1', label: '环境卫生', pageKey: 'environment' },
{ key: 'industryStatus2', label: '市容广招' },
{ key: 'industryStatus3', label: '固废处置' },
{ key: 'industryStatus4', label: '市政设施' },
......
.container {
padding: 10px 20px 20px 20px;
cursor: pointer;
.dataBox {
width: 242px;
......
......@@ -89,8 +89,8 @@ const EnvironmentalHealth: React.FC = () => {
return (
<div
className={styles.container}
onClick={() => navigateTo('environment')}
style={{ cursor: 'pointer' }}
// onClick={() => navigateTo('environment')}
// style={{ cursor: 'pointer' }}
>
{/* 问题统计 */}
<DescriptionItem
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment