我想用js获取前一个页面的url。 可是用 “location.href , parent.location.href ”.我获取到的都是当前的url; 可是用 “location.href ,& 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交