wx.choosePoi真机每次都是返回当前定位经纬度,跟POI无关?
发布于 4 年前 作者 yanghan 5260 次浏览 来自 问答

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);

      }

    });

  },

回到顶部