wx.openLocation({ latitude: !!that.addressPoint.latitude ? Number(that.addressPoint.latitude) : 34.194024, longitude: !!that.addressPoint.longitude ? Number(that.addressPoint.longitude) : 108.937925, name: !!that.addressPoint.name ? that.addressPoint.name : "聲動語商學苑", address: !!that.addressPoint.address ? that.addressPoint.address : "西安市" });
**
最終效果爲:git