소스 검색

小程序农机详情距离异常问题

李志伟 2 년 전
부모
커밋
bd51ded3d6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/pages/CheckDetails/index.jsx

+ 1
- 1
src/pages/CheckDetails/index.jsx 파일 보기

@@ -69,7 +69,7 @@ export default withLayout((props) => {
69 69
             <View className='content-header-box-map-Info' onClick={() => goMapInfo('222888')}>
70 70
               <View className='content-header-box-map-Info-liftCentent'>
71 71
                 <Image src={addresss} />
72
-                <View>距离当前位置8.8公里&gt;&gt;</View>
72
+                <View>距离当前位置{carsInfo?.distance/1000}公里&gt;&gt;</View>
73 73
               </View>
74 74
             </View>
75 75
             <View className='content-header-box-map-Info-carsName'>{carsInfo?.orgName}</View>