浏览代码

照片定位

roose 4 年之前
父节点
当前提交
7eddaaf7b8
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      pages/collectInfo/collectInfo.js

+ 2 - 1
pages/collectInfo/collectInfo.js

@@ -226,7 +226,7 @@ Page({
             [name]: this.data.addOldname,
             oldInfo: this.data.oldInfo
           })
-          this.getSelfLocation();
+          // this.getSelfLocation();
           wx.hideLoading();
         }
       }
@@ -2066,6 +2066,7 @@ Page({
               [imgPath]: datas.data,
               [isHavePhoto]: true,
             })
+            that.getSelfLocation();
             that.SubmitOldmanInfo({
               id: that.data.nameArr[that.data.activeIndex]._id,
               photo: datas.data,