传给后端的url,如果路由是hash模式的,传给后端的url必须是location.href.split('#')[0],url用location.href在安卓上可以,ios会有问题导致签名失败
this.$post("xxxxx",
{
url: location.href.split('#')[0],
time: new Date().getTime(),
}
)
传给后端的url,如果路由是hash模式的,传给后端的url必须是location.href.split('#')[0],url用location.href在安卓上可以,ios会有问题导致签名失败
this.$post("xxxxx",
{
url: location.href.split('#')[0],
time: new Date().getTime(),
}
)