|
|
@@ -95,9 +95,9 @@ 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.split('/mobile')[0];
|
|
|
// 获取签名
|
|
|
- getTicket({ url: url + 'mobile/' }).then((response) => {
|
|
|
+ getTicket({ url: url }).then((response) => {
|
|
|
console.log(response);
|
|
|
toastLoading().clear();
|
|
|
if (response.code == 200) {
|