浏览代码

计划外列表页面刷新优化

zhujindu 10 月之前
父节点
当前提交
eb9ce67aae
共有 1 个文件被更改,包括 1 次插入1 次删除
  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') {
   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);