fix:回退商品列表部分代码

This commit is contained in:
wangsongsole 2022-11-04 10:00:51 +08:00
parent b6eadf67ba
commit 70bf73f486
1 changed files with 4 additions and 1 deletions

View File

@ -332,7 +332,10 @@
}, },
backHandler () { backHandler () {
window.location.replace(localStorage.getItem('entryLink')) let backUrl = window.history.length;
if (window.history.length) {
history.go(-backUrl + 1);
}
}, },
// 单条弹框 // 单条弹框