Browse Source

perf: 优化代码

kuns 1 tháng trước cách đây
mục cha
commit
5145588d1a
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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' }))