@@ -285,7 +285,7 @@ var productDetail = new Vue({
window.location.href = href;
},function(){
// 关闭
- if(document.referrer === ''){
+ if(window.history.length === 0){
window.location.href="/index.html";
window.close();
}else{