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