diff --git a/src/pages/work_order/visited/components/NoVisited.tsx b/src/pages/work_order/visited/components/NoVisited.tsx index 9bc7d12..27bf401 100644 --- a/src/pages/work_order/visited/components/NoVisited.tsx +++ b/src/pages/work_order/visited/components/NoVisited.tsx @@ -17,7 +17,6 @@ export default function Index({ title = '未回访工单' }) { { show: ( <> - {' '} {item.is_visited === 0 && ( )} diff --git a/src/pages/work_order/visited/index.tsx b/src/pages/work_order/visited/index.tsx index 1b6f524..ea0c40e 100644 --- a/src/pages/work_order/visited/index.tsx +++ b/src/pages/work_order/visited/index.tsx @@ -1,7 +1,7 @@ import { MyPageContainer } from '@/common'; import { useNavigate, useSearchParams } from '@umijs/max'; import type { TabsProps } from 'antd'; -import { Button, Tabs } from 'antd'; +import { Tabs } from 'antd'; import { useEffect, useState } from 'react'; import IsVisited from './components/IsVisited'; import NoVisited from './components/NoVisited'; @@ -36,21 +36,7 @@ export default function Index({ title = '工单回访' }) { tabKey="visited" tabLabel={title} > - navigate('/work_order/work_bi')} - > - 返回工单BI - - ), - }} - /> + ); }