Yansen 2 years ago
parent
commit
2ecf2843ca
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/components/map/index.jsx

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

@@ -41,6 +41,7 @@ export default (props) => {
41 41
       setCurPos(res);
42 42
       onLocChange([res.longitude, res.latitude].join(','))
43 43
     }).catch((err) => {
44
+      console.error(err);
44 45
       Taro.showToast({
45 46
         title: '定位失败',
46 47
         icon: 'none',