UNPKG

@toolkit-fe/get-location

Version:

获取当前位置

7 lines (6 loc) 199 B
/** * 对外暴露的获取位置方法 * @return Promise resolve一个 positionData 对象 lat-纬度 lng-经度 */ declare const getLocation: () => Promise<unknown>; export default getLocation;