fangmingyue 2 years ago
parent
commit
2e2a39c03f
2 changed files with 4 additions and 4 deletions
  1. 1
    1
      src/components/map/index.jsx
  2. 3
    3
      src/pages/check/edit/components/LocForm.jsx

+ 1
- 1
src/components/map/index.jsx View File

48
       })
48
       })
49
     });
49
     });
50
   }, []);
50
   }, []);
51
-
51
+  // console.log('markers latitude', mks)
52
   React.useEffect(() => {
52
   React.useEffect(() => {
53
     if (!location && !currentPos) return;
53
     if (!location && !currentPos) return;
54
 
54
 

+ 3
- 3
src/pages/check/edit/components/LocForm.jsx View File

1
 import React from 'react';
1
 import React from 'react';
2
 import Taro from '@tarojs/taro';
2
 import Taro from '@tarojs/taro';
3
-import { View } from '@tarojs/components';
4
-import { CellGroup, Cell, Field, RadioGroup, Radio } from '@antmjs/vantui';
3
+import { View, CoverView } from '@tarojs/components';
4
+import { CellGroup, Cell, Field, RadioGroup, Radio, Icon } from '@antmjs/vantui';
5
 import Map from '@/components/map';
5
 import Map from '@/components/map';
6
 import { getTaCheckItemAnswer } from '@/services/tacheckitem';
6
 import { getTaCheckItemAnswer } from '@/services/tacheckitem';
7
 import mapIcon from '@/assets/icons/marker.png';
7
 import mapIcon from '@/assets/icons/marker.png';
102
           </CellGroup>
102
           </CellGroup>
103
         )
103
         )
104
       }
104
       }
105
-    </View>
105
+    </View >
106
   )
106
   )
107
 }
107
 }