浏览器新开页面 : performance.navigation.type = 0; 浏览器刷新页面: performance.navigation.type = 1; 转载于:https://www.cnblogs.com/rechel/p/7737810.html