loginClick: function() { var returnURl = window.location.href window.location.href = '//product.fishqc.com/login?returnURL=' + returnURl },有时候在进行下一步的时候,可以会要需要登录个人的账号,登录之后想要回退到之前的那个页面,可以先获取地址栏进行跳转到之前的页面.