Browse Source

perf: 优化代码

kuns 1 month ago
parent
commit
5145588d1a
1 changed files with 0 additions and 1 deletions
  1. 0 1
      component/resultDetailPage/resultDetailPageComponent.tsx

+ 0 - 1
component/resultDetailPage/resultDetailPageComponent.tsx

@@ -49,7 +49,6 @@ const ChargingStationTabView: React.FC<ChargingStationTabViewProps> = ({ titles,
     };
     useEffect(() => { 
         chargeStationService.fetchElectricityPrice(pricemodel_id || 'a').then(res => {
-            console.log('kkkkkk', res)
             const date = new Date();
             const str = (date.toLocaleString('en-US', { weekday: 'short' })).toLowerCase();
             setStrWeek(date.toLocaleString('zh', { weekday: 'long' }))