history.scrollRestoration支持下面两个属性值:
if (history.scrollRestoration) { history.scrollRestoration = 'manual'; }