Sfoglia il codice sorgente

fix: 修改图标以及修复图片路径问题

lwxzks 4 mesi fa
parent
commit
4a258cf09a

BIN
assets/CC_Logo.png


+ 0 - 1
component/chargingPage/noChargingOngoingPageComponent.tsx

@@ -49,7 +49,6 @@ const NoChargingOngoingPageComponent = () => {
 
     const StationRow = ({ item }: { item: any }) => {
         // const imageSource = stationImages[stationID] || require('../../assets/dummyStationPicture.png');
-        console.log('image', item.image, item.stationName);
         let imgObj = null;
         if (item.image) {
             imgObj = { uri: item.image };

+ 1 - 1
component/global/bookingTabViewComponent.tsx

@@ -3,7 +3,7 @@ import { ActivityIndicator, View, RefreshControl } from 'react-native';
 import { useQuery, QueryClient, QueryClientProvider } from '@tanstack/react-query';
 import TabViewComponent, { TabItem } from './tabView';
 import { chargeStationService } from '../../service/chargeStationService';
-import { EXPO_PUBLIC_API_URL, EXPO_PUBLIC_API_IMG_URL } from '@env';
+import { EXPO_PUBLIC_API_URL } from '@env';
 
 const queryClient = new QueryClient();
 

+ 1 - 1
service/chargeStationService.tsx

@@ -1,7 +1,7 @@
 import axios from 'axios';
 import { Alert } from 'react-native';
 import * as SecureStore from 'expo-secure-store';
-import { EXPO_PUBLIC_API_URL, EXPO_PUBLIC_API_IMG_URL } from '@env';
+import { EXPO_PUBLIC_API_URL } from '@env';
 import { forgetPasswordFormData } from '../types/signup';
 import { CustomerData } from '../types/signUpFormData';