1.0.5 • Published 11 months ago

bowo-location-sdk v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

使用说明

  1. 在需要使用的页面引入,可以直接复制此代码 --- import getLocation from 'bowo-location-sdk'
  2. 调用 getLocation 即可,可直接复制以下代码
getLocation()
	.then(res => {
		//res中的格式如下:{ data: {lng: 'xxxx', lat: 'xxxx'}, status: 'success' }
		const { lng, lat } = res.data
		// 获取到lng, lat后自行处理
	})
	.catch(err => {
		//处理错误逻辑
	})
1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.0

11 months ago