|
|
@@ -95,7 +95,7 @@ export function getPosition(isPermit = false) {
|
|
|
export function getTicketFun(jsApiList = ['getLocation'], configType = 'config') {
|
|
|
return new Promise((resolve, reject) => {
|
|
|
// 当前页面
|
|
|
- let url = window.location.href.split('/mobile')[0];
|
|
|
+ let url = window.location.href;
|
|
|
// 获取签名
|
|
|
getTicket({ url: url }).then((response) => {
|
|
|
console.log(response);
|