Browse Source

计划外列表页面刷新优化

zhujindu 10 months ago
parent
commit
eb9ce67aae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/utils/TXApiFun.js

+ 1 - 1
src/utils/TXApiFun.js

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