Explorar o código

fix: 修复微信跳转客服返回2次问题

cuiyalong %!s(int64=2) %!d(string=hai) anos
pai
achega
c97cd51d18
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/web/templates/big-member/wx/page_customer.html

+ 1 - 1
src/web/templates/big-member/wx/page_customer.html

@@ -71,7 +71,7 @@
               var hasQueryParams = goHref.lastIndexOf('?') !== -1
               goHref += ((hasQueryParams ? '&' : '?') + 'auto=1')
             }
-            location.href = goHref
+            location.replace(goHref)
             return
           }
         }