positionClick: function () { console.log ( "View map"); IF {(app.globalData.isPosition!) app.checkPositionShop (); } the else { const = Number The La (Latitude); const LO = Number The (longitude) ; // latitude and longitude to the customer wx.openLocation ({ Latitude: La, longitude: LO, Scale: 16, address: this.data.bankAddress }) } },
note
Number The La = const (Latitude); const Number The LO = (longitude);
to be cast! ! ! ! !