wx.choosePoi真机每次都是返回当前定位经纬度,跟POI无关?

发布于 5 年前作者 yanghan5465 次浏览最后编辑 5 年前来自 ask

iphone12

iOS 14.6

WeXin 8.07

调试基础库:2.16.1  


onSearchTap(e) {

    var that = this;

    wx.choosePoi({

      success: (res1) => {

        var that2 = that;

        that2.setData({

          dialogShow:true,

          needUpdateLocation:true,

          updateLocation:res1

        });

      },

      fail(res) {

        console.log(res);

      }

    });

  },

0 回复
暂无回复