|
|
@@ -12,6 +12,7 @@ const isDevice = localStorage.getItem('isDevice');
|
|
|
|
|
|
/**
|
|
|
* 获取当前定位 调用之前确保当前页面已经授权(getTicketFun)
|
|
|
+ * @param isPermit // PC 模式下不能获取定位,是否允许跳过定位
|
|
|
* */
|
|
|
export function getPosition(isPermit = false) {
|
|
|
return new Promise((resolve, reject) => {
|