Yansen 2 年之前
父節點
當前提交
2ecf2843ca
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      src/components/map/index.jsx

+ 1
- 0
src/components/map/index.jsx 查看文件

@@ -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',